JSCS Config AllenMoore
JSCS shareable config
Installation
npm install jscs jscs-config-allenmoore --save-dev
Usage
JSCS shareable config
In package.json
:
{
"scripts": {
"lint": "jscs ."
},
"devDependencies": {
"jscs": "",
"jscs-config-allenmoore": ""
},
"jscsConfig": {
"preset": "allenmoore"
}
}
Or:
{
"scripts": {
"lint": "jscs -p allenmoore ."
},
"devDependencies": {
"jscs": "",
"jscs-config-allenmoore": ""
}
}
Or, in .jscsrc
:
{
"preset": "allenmoore"
}
Then lint:
npm run lint