@krknet/eslint-plugin
v1.1.2
Published
KRKnet Standard Rules
Downloads
17
Readme
@krknet/eslint-plugin
KRKnet Standard Rules
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @krknet/eslint-plugin
:
npm install @krknet/eslint-plugin --save-dev
Usage
Add @krknet
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@krknet"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@krknet/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here