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:


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

Do not hesitate to look at their complete documentation.