1.2.4 • Published 4 years ago
eslint-plugin-yanglint v1.2.4
eslint-plugin-yanglint
yang's eslint demo
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-yanglint:
$ npm install eslint-plugin-yanglint --save-devUsage
Add yanglint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"yanglint"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"yanglint/rule-name": 2
}
}Supported Rules
- Fill in provided rules here