6.10.2 • Published 7 months ago
@nest-boot/eslint-plugin v6.10.2
eslint-plugin-nest-boot
Nest Boot 定制规则
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-nest-boot:
npm install eslint-plugin-nest-boot --save-devUsage
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.