2.4.2 • Published 8 years ago

eslint-config-hypercms v2.4.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

eslint-config-keystone

Shareable ESLint Config for Coding Standards used in KeystoneJS

Installation

Install eslint-config-keystone as a dev dependency:

npm install --save-dev eslint eslint-config-keystone eslint-plugin-react

Then add an .eslintrc file to your project that extends the keystone config:

{
  "extends": [
     "keystone"
  ]
}

You can do this from the OS X terminal by running this line in your project folder:

echo -e '{\n  "extends": [\n    "keystone"\n  ]\n}' >> .eslintrc

Additional configuration can be added to .eslintrc that extends or overrides the keystone defaults.

License

MIT. Copyright (c) 2016 Jed Watson.