eslint-plugin-cts

1.0.2 • Public • Published

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 | 讨论

Package Sidebar

Install

npm i eslint-plugin-cts

Weekly Downloads

9

Version

1.0.2

License

MIT

Unpacked Size

6.63 kB

Total Files

10

Last publish

Collaborators

  • john_rush
  • huopei