0.0.0 • Published 8 years ago
eslint-plugin-kcd-egghead v0.0.0
eslint-plugin-kcd-egghead
Just a demo of an eslint plugin. Don't use this.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-kcd-egghead:
$ npm install eslint-plugin-kcd-egghead --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-kcd-egghead globally.
Usage
Add kcd-egghead to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"kcd-egghead"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"kcd-egghead/rule-name": 2
}
}Supported Rules
- no-console: disable the use of
console
0.0.0
8 years ago