0.0.0 • Published 2 years ago
eslint-plugin-class v0.0.0
eslint-plugin-class
class首字母大写
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-class
:
npm install eslint-plugin-class --save-dev
Usage
Add class
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"class"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"class/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here
0.0.0
2 years ago