Child pages
  • JavaScript Coding Standards
Skip to end of metadata
Go to start of metadata

JavaScript Coding Standards


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.


(function () {
  if (test) {
    return false;

Do not hesitate to look at their complete documentation.



  • No labels