1.0.2 • Published 4 years ago

eslint-plugin-cts v1.0.2

Weekly downloads
5
License
MIT
Repository
-
Last release
4 years ago

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
    }
}

Contributing | 如何贡献

Discussion | 讨论