1.0.2 • Published 5 years ago
eslint-plugin-cts v1.0.2
eslint-plugin-cts
为CTS定制的eslint规则
Getting Started | 快速开始
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-cts:
$ npm install eslint-plugin-cts --save-devRunning 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
}
}