The his JavaScript style guide is based on the eslint-config-airbnb-base style guide.
We have turned off arrow function rules
- 2.1 Braces: Both signle and multi-statment blocks should be surrounded by braces.
if (i < 10) i++; // bad
if (i < 10) { // good
i++;
}
- 3.1 Width: Indentation levels should be 4 spaces. We feel that 4 spaces makes it easier to distinguish between indentation levels.