JavaScript Coding Standards
Introduction
For our JavaScript code, we chose to follow the well-detailed and documented Airbnb JavaScript Style Guide. Code should be written in ECMAScript 6 and Babel will transpile it into ECMAScript 5 for a wider browser compatibility.
Some noteworthy rules:
Always use semicolons at the end of an instruction.
Use soft tabulations with two spaces to indent.
Use braces with all multi-line blocks.
Do not hesitate to look at their complete documentation.
Last updated