Install
💁 This config relies dangerously on npm@3 flatter tree for its dependencies (because of eslint/issues/3458), so installation may be as simple as:
npm i -D eslint-config-tough
Usage
// .eslintrc "extends": "tough/config/common" "tough/config/node" "tough/config/esnext" "rules": // custom tweaks
// test/.eslintrc "extends": "tough/config/test" "rules": // custom tweaks
Available configs to extend from
- common
- node
- browser
- esnext
- react
- test