eslint-config-parsley
v1.3.0
Published
eslint shareable config for Parsley Health.
Downloads
22
Readme
eslint-config-parsley
ESLint shareable config for the Parsley Health code style. This script builds on the XO shareable config with small changes and additions.
Install
$ yarn add eslint eslint-config-parsley --dev
Usage
Add the appropriate ESLint config to your package.json
:
{
"scripts": {
"lint": "eslint"
},
"devDependencies": {
"eslint": "^2.9.0",
"eslint-config-parsley": "^1.0.0"
},
"eslintConfig": {
"extends": "parsley"
}
}
Or, put the config in an .eslintrc
file:
Lint with
$ npm run lint