JavaScript style guides

Oct 30, 2020 • ☕️ 1 min read

Using a standard style guide helps ensure that code is shared easily among developers and any new developer can get up to speed with a given piece of code within no time.

Airbnb’s style guide has gained popularity and is one of the most followed and comprehensive pack of coding standards for writing JavaScript.

Airbnb JavaScript Style Guide

Airbnb has one of the most popular JavaScript style guides on the internet. It covers nearly every aspect of JavaScript as well.

Google JavaScript Style Guide

This document serves as the complete definition of Google’s coding standards for source code in the JavaScript programming language, focuses primarily on the hard-and-fast rules that we follow universally, and avoids giving advice that isn’t clearly enforceable (whether by human or tool).

Idiomatic JavaScript Style Guide

A set of principles for writing consistent, idiomatic JavaScript. All code in any code-base should look like a single person typed it, no matter how many people contributed.

StandardJS JavaScript Style Guide

The beauty of JavaScript Standard Style is that it’s simple. No one wants to maintain multiple hundred-line style configuration files for every module/project they work on. Enough of this madness!

Related Posts

Cracking the Frontend Interview, Part 5: React

React is the hottest technology in web development nowadays, working on it is exciting but preparing for interviews is really a pain in the neck

What is ABI stability and why does Swift support it?

ABI stability enables OS vendors to embed a Swift Standard Library and runtime in the OS that is compatible with applications built with Swift 5 or later

JavaScript data validation libraries

Notable JavaScript libraries for validating data at runtime

On the need of building own products

It was very intimidating but I always wanted to build something of my own and make enough money for living from that