This is an extensible config for ESlint with rules that we think help avoid errors and improve readability of the code.
Two configs are provided, one for the browser and one for Node.
-
npm i -DE eslint-config-plazza babel-eslint eslint
-
add
"extends": "plazza/browser"
to your .eslintrc
-
npm i -DE eslint-config-plazza babel-eslint eslint
-
add
"extends": "plazza/node"
to your .eslintrc
Here’s some doc to extend the config: (http://eslint.org/docs/user-guide/configuring#extending-configuration-files)