0.0.1-beta01 • Published 2 years ago
eslint-plugin-tp v0.0.1-beta01
eslint-plugin-tp
eslint插件
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-tp
:
npm install eslint-plugin-tp --save-dev
Usage
Add tp
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"tp"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"tp/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.
0.0.1-beta09
2 years ago
0.0.1-beta08
2 years ago
0.0.1-beta07
2 years ago
0.0.1-beta06
2 years ago
0.0.1-beta05
2 years ago
0.0.1-beta04
2 years ago
0.0.1-beta03
2 years ago
0.0.1-beta02
2 years ago
0.0.1-beta01
2 years ago