General
Try to follow the AirBnB styling guide as far as possible. Sometimes you might have to deviate from the guide; such as when targeting Internet Explorer without a transpiler, you have to use var
instead of const
or let
.
When using a complete toolchain with a transpiler, eslint should be configured to warn about any style violations.