eslint-config-keystone-react
v1.0.0
Published
React Extensions for Keystone's ESLint Config
Downloads
3,133
Maintainers
Readme
eslint-config-keystone-react
Shareable ESLint Config for Coding Standards used in KeystoneJS with React Extensions
Extends eslint-config-keystone
Installation
Install the following dependencies in your project:
npm install --save-dev eslint eslint-plugin-react eslint-config-keystone eslint-config-keystone-react
Then add an .eslintrc
file to your project that extends the keystone
config:
{
"extends": [
"keystone-react"
]
}
You can do this from the OS X terminal by running this line in your project folder:
echo -e '{\n "extends": [\n "keystone-react"\n ]\n}' >> .eslintrc
Additional configuration can be added to .eslintrc
that extends or overrides the keystone defaults.
License
MIT. Copyright (c) 2016 Jed Watson.