a lint for KFC Crazy Thursday
this is a repo fork from https://github.com/0xYootou/eslint-plugin-996
- KFC Crazy every Thursday
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-kfc-crazy
:
$ npm install eslint-plugin-kfc-crazy --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-kfc-crazy
globally.
Add kfc-crazy
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["kfc-crazy"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"kfc-crazy/kfc-crazy": "error"
}
}
config as warn will be more friendly.
{
"rules": {
"kfc-crazy/kfc-crazy": "warn"
}
}