eslint-config-awesome
This package provides Peet's .eslintrc as an extensible shared config.
Usage
We export two ESLint configurations for your usage.
eslint-config-awesome
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-awesome eslint-plugin-react eslint
- add
"extends": "awesome"
to your .eslintrc
eslint-config-awesome/base
Lints ES6+ but does not lint React. Requires eslint
.
npm install --save-dev eslint-config-awesome eslint
- add
"extends": "awesome/base"
to your .eslintrc
See the Javascript styleguide and the ESlint config docs for more information.