eslint-config-zoetrope
v2.0.3
Published
Zoetrope's base React eslint config
Downloads
9
Maintainers
Readme
Zoetrope's React ESLint rules
Installation
Unfortunately because of this the airbnb config that this extends and the plugins that it requires can't be installed as dependencies of this module so you have to manually install the peer dependencies..
npm i eslint-config-zoetrope [email protected] [email protected] [email protected] [email protected]
The above versions numbers were originally generated by running the install shell command for eslint-config-airbnb
described here
Usage
//.eslintrc
{
"parser": "babel-eslint",
"extends": "zoetrope",
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"describe": true,
"before": true,
"it": true,
"expect": true,
"sinon": true
}
}