eslint-config-hotelquickly
Built on the eslint:recommended
rules set.
How to apply to your project
-
install
eslint
&@hotelquickly/eslint-config-hotelquickly
in project directorynpm install eslint @hotelquickly/eslint-config-hotelquickly --save-dev
-
add the config clause to your project
package.json
as follows:"scripts": { "eslint": "eslint lib/**" }, "eslintConfig": { "extends": "@hotelquickly/eslint-config-hotelquickly" }
-
add
.eslintignore
add put there folders/files to ignore
How to run
Just execute npm run eslint
Disable rule
If you need/want to disable rule for some reason please use comment on line or at the top of source file. Pay attention at such comments during code review and rise a discussion in nodejs slack channel if you see how to improve it