@nest-boot/eslint-plugin
v6.10.2
Published
Nest Boot 定制规则
Downloads
861
Readme
eslint-plugin-nest-boot
Nest Boot 定制规则
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-nest-boot
:
npm install eslint-plugin-nest-boot --save-dev
Usage
Add nest-boot
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["nest-boot"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"nest-boot/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.