A shareable config that provides Cappuccino style rules for eslint.
First you need to install eslint
(v1.10+):
$ npm install -g eslint
Next, install eslint-config-cappuccino
:
$ npm install -g eslint-config-cappuccino
Note: If eslint
is installed locally and not globally, or if you are running a local version via node_modules/.bin/eslint
, then you must also install eslint-config-cappuccino
locally.
Add cappuccino
to the extends
section of your .eslintrc
configuration file. You can omit the eslint-config-
prefix:
{
"extends": "cappuccino"
}