eslint-config-migme
This package provides migme's .eslintrc as an extensible shared config
Usage
eslint-config-migme
Our default export contains all of our ESLint rules, including EcmaScript 6+.
It requires eslint
.
npm install --save-dev eslint-config-migme eslint-plugin-react eslint
- add
"extends": "migme"
to your .eslintrc
eslint-config-migme/base
Lints ES6+ but does not lint React.
It requires eslint
.
npm install --save-dev eslint-config-migme eslint
- add
"extends": "migme/base"
to your .eslintrc
eslint-config-migme/legacy
Lints ES5 and below. Only requires eslint
.
npm install --save-dev eslint-config-migme eslint
- add
"extends": "migme/legacy"
to your .eslintrc
See migme's Javascript styleguide and the ESlint config docs for more information.