eslint-plugin-cts
v1.0.2
Published
Eslint rules for cts
Downloads
1
Readme
eslint-plugin-cts
为CTS定制的eslint规则
Getting Started | 快速开始
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-cts
:
$ npm install eslint-plugin-cts --save-dev
Running the tests | 测试
Add cts
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-plugin-cts"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-plugin-cts/no-skip": 2
}
}