JSCS Shareable Config for Tombfix
$ npm install jscs jscs-config-tombfix --save-dev
In package.json
:
{
"scripts": {
"lint": "jscs ."
},
"devDependencies": {
"jscs": "",
"jscs-config-tombfix": ""
},
"jscsConfig": {
"preset": "tombfix"
}
}
Or:
{
"scripts": {
"lint": "jscs -p tombfix ."
},
"devDependencies": {
"jscs": "",
"jscs-config-tombfix": ""
}
}
Or, in .jscsrc
:
{
"preset": "tombfix"
}
Then lint:
$ npm run lint
Please see CONTRIBUTING.md.
Creative Commons Zero v1.0 Universal
Please see LICENSE.