eslint-config-focusvision
v1.0.2
Published
ESLint Configuration for FocusVision
Downloads
5
Maintainers
Readme
eslint-config-focusvision
This package provides FocusVision's .eslintrc as an extensible shared config.
Usage
We export two ESLint configurations for your usage.
eslint-config-focusvision
Our default export contains all of our ESLint rules, including EcmaScript 6+
and React. It requires eslint
and eslint-plugin-react
.
npm install --save-dev eslint-config-focusvision eslint-plugin-react eslint
- add
"extends": "focusvision"
to your .eslintrc
eslint-config-focusvision/base
Lints ES6+ but does not lint React. Requires eslint
.
npm install --save-dev eslint-config-focusvision eslint
- add
"extends": "focusvision/base"
to your .eslintrc
See the ESlint config docs for more information.
Improving this config
You can make sure this module lints with itself using npm run lint
.