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.