A collection of hand-picked JavaScript style guides.

Related Articles

  1. HTML/CSS Style Guides
  2. Sass Style Guides
  3. React Style Guides
Demo image: Google JavaScript Style Guide

Date

Author

Google

About a style guide

Google JavaScript Style Guide

This document serves as the complete definition of Google’s coding standards for source code in the JavaScript programming language. A JavaScript source file is described as being in Google Style if and only if it adheres to the rules herein.

Demo image: Airbnb JavaScript Style Guide

Date

Author

Airbnb

About a style guide

Airbnb JavaScript Style Guide() {

A mostly reasonable approach to JavaScript.

Demo image: Airbnb CSS-in-JavaScript Style Guide

Date

Author

Airbnb

About a style guide

Airbnb CSS-in-JavaScript Style Guide

A mostly reasonable approach to CSS-in-JavaScript.

Demo image: JavaScript Language Coding Style

Date

Author

Ilya Kantor

About a style guide

JavaScript Language Coding Style

Our code must be as clean and easy to read as possible. That is actually the art of programming – to take a complex task and code it in a way that is both correct and human-readable. A good code style greatly assists in that.

Demo image: Wordpress JavaScript Coding Standards

Date

Author

Wordpress

About a style guide

Wordpress JavaScript Coding Standards

JavaScript has become a critical component in developing WordPress-based applications (themes and plugins) as well as WordPress core. Standards are needed for formatting and styling JavaScript code to maintain the same code consistency as the WordPress standards provide for core PHP, HTML, and CSS code.

Demo image: JavaScript Standard Style

Date

Author

Standard JS

About a style guide

JavaScript Standard Style

JavaScript Style Guide, with linter & automatic code fixer.

Demo image: function qualityGuide

Date

Author

Nicolás Bevacqua

About a style guide

function qualityGuide () {

This style guide aims to provide the ground rules for an application's JavaScript code, such that it's highly readable and consistent across different developers on a team. The focus is put on quality and coherence across the different pieces of your application.

Demo image: Principles of Writing Consistent, Idiomatic JavaScript

Date

Author

Rick Waldron

About a style guide

Principles of Writing Consistent, Idiomatic JavaScript

This is a living document and new ideas for improving the code around us are always welcome.

Demo image: JavaScript Style Guide

Date

Author

Khan Academy

About a style guide

JavaScript Style Guide

This guide is adapted from the jQuery style guide.

Demo image: Node.js/JavaScript Style Guide

Date

Author

Felix Geisendörfer

About a style guide

Node.js/JavaScript Style Guide

A guide for styling your node.js / JavaScript code.