An ESLint shareable config based off of the Google style with extra ES6, Promise, and Mocha rules for use with Koc University projects.
$ npm install --save-dev eslint eslint-config-ku-dev
Add some ESLint config to your package.json
:
{
"scripts": {
"lint": "eslint ."
},
"devDependencies": {
"eslint": "^4.8.0",
"eslint-config-ku-dev": "^0.4.3"
},
"eslintConfig": {
"extends": "ku-dev"
}
}
Then lint with $ npm run lint
.