@gentsagency/eslint-config
v2.1.0
Published
ESLint config for Gents agency
Downloads
6
Readme
Gents Agency JavaScript Style Guide
This guide extends on the Airbnb JavaScript Style Guide. Go there if you want to read up on the code style recommendations.
Exceptions
The few exceptions we make at Gents are listed below:
- Parens are always required in arrow functions
- Anonymous functions have to be named for easier debugging
- Constructor call have to be capitalized, except when initializing an object property
- Unary operators (
++
and--
) are allowed insidefor
loops - We use tabs, not spaces