eslint-plugin-tcvue3
v1.0.1
Published
vue3的eslint插件
Downloads
1
Maintainers
Readme
eslint-plugin-tc
vue3的eslint插件
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-tc
:
npm install eslint-plugin-tc --save-dev
Usage
Add tc
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"tc"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"tc/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.