Airbnb JavaScript Style Guide: Best Practices for Efficient Coding, Types, Objects, Arrays, and Performance


Summary of my bookmarked Github repositories from Jul 10th, 2015

Github repositories

  • airbnb/javascript

    The Airbnb JavaScript Style Guide provides a mostly reasonable approach to JavaScript coding. The guide assumes the use of Babel and requires babel-preset-airbnb or its equivalent. It covers various topics, including types, references, objects, arrays, destructuring, strings, functions, and more. The guide recommends best practices such as using const instead of var, using object and array literal syntax, preferring object shorthand and property value shorthand, using array spreads for copying arrays, and using object and array destructuring. It also provides guidance on naming conventions, whitespace, comments, and performance considerations.