eslint-config-kivra
v0.5.3
Published
Universal ESLint rules for all Kivra projects
Downloads
3
Readme
eslint-config-kivra
Universal ESLint rules for all Kivra projects
Install
$ npm install eslint-config-kivra --save-dev
Usage
Using the package out of the box
Add the following lines to package.json
"eslintConfig": {
"extends": "eslint-config-kivra"
}
Overriding default rules
Alternatively if you want to override certain rules, create a file named .eslintrc.json
with the following structure:
{
"extends": "eslint-config-kivra",
"rules": {}
}
And don't include the following lines in package.json
(since eslint will default to .eslintrc.json
):
"eslintConfig": {
"extends": "eslint-config-kivra"
}
Deployment
This is a public npm package and can easely be published from the terminal:
$ npm login
(use your own npm user and get added to Kivra organization)
$ npm version major|minor|patch
$ npm publish