Eslint configuration bundle
npm i -D eslint-config-bundle
create an .eslintrc.yaml
---
env:
node: true
es6: true
extends:
- bundle/env/core.yaml
if you want to include nodejs
rule set
add node.yaml
to extends
block
- bundle/env/node.yaml
if you have tests with mocha
and chai
add below mocha.yaml
& chai.yaml
to extends
block
- bundle/env/mocha.yaml
- bundle/env/chai.yaml