1.0.15 • Published 1 month ago

eslint-plugin-react-ss v1.0.15

Weekly downloads
-
License
ISC
Repository
-
Last release
1 month ago

eslint-plugin-react-lint-yy

eslint配置插件

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-react-lint-yy:

npm install eslint-plugin-react-lint-yy --save-dev

Usage

Add react-lint-yy to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "react-lint-yy"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "lint/rule-name": 2
    }
}

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

TODO: Run eslint-doc-generator to generate the rules list.

参考文档