ESLint rules from Andrey Okonetchnikov
npm install --save-dev eslint eslint-config-okonet
- Add following block to
package.json
"eslintConfig": {
"extends": [
"okonet"
]
}
This will add generic config.
For React.js projects, extend from okonet/react
For Node.js projects, extend from okonet/node