ESLint plugin with a collection of personal rules
You'll first need to install ESLint:
$ npm install eslint --save-dev
And then the plugin:
$ npm install eslint-plugin-njakob --save-dev
Note: If you installed ESLint globally then you must also install this project globally.
Add njakob
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"njakob"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"njakob/example": "error"
}
}
njakob/example
: Just an example
Eslint-plugin-njakob is licensed under the MIT License.