4 popular JavaScript style guides that will help your team write better code

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • idiomatic.js

    Principles of Writing Consistent, Idiomatic JavaScript

  • Idiomatic is one of the most popular JavaScript style guides, and it’s open to pull requests, so you are free to contribute to it or adapt it to your own needs.

  • Standard

    🌟 JavaScript Style Guide, with linter & automatic code fixer

  • The JavaScript Standard Style was released as open-source under an MIT license by Feross Abukhadijeh. It has a linter and a code fixer that allows you to format code automatically and easily detect bugs and style issues. Plus, you don’t need to maintain multiple style configuration files for every module or project you’re working on since no configuration is needed.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • javascript

    JavaScript Style Guide

  • The Airbnb JavaScript Style Guide was released in 2012, and it has the complete definition of coding standards used at Airbnb. It is known for its consistency, readability, predictability, and efficiency. This style guide covers nearly every aspect of JavaScript, from objects and events to testing and performance.

  • eslint-config-google

    Discontinued ESLint shareable config for the Google JavaScript style guide

  • The Google JavaScript Style Guide was released in 2012, and it has the complete definition of coding standards used at Google. This style guide has two parts, one focusing on style rules (aesthetic issues of formatting) and the other focusing on language rules (conventions and coding standards). In addition, it has an ESLint package that you can use to incorporate the style guide into your project.

  • angularjs-style-guide

    📚 Community-driven set of best practices for AngularJS application development

  • AngularJS Style Guide: a community-driven set of best practices for AngularJS application development.

  • clean-code-javascript

    :bathtub: Clean Code concepts adapted for JavaScript

  • Clean Code JavaScript: the concepts of the book Clean Code, by Robert C. Martin, adapted for JavaScript.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts