1.1.7 • Published 1 year ago
eslint-plugin-tckf v1.1.7
eslint-plugin-tc
tc 客服的 eslint 插件
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-tckf
:
npm install eslint-plugin-tckf --save-dev
Usage
Add tckf
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["tckf"],
"extends": ["plugin:tckf/vue3"]
}
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.