1.0.0 • Published 5 years ago

eslint-plugin-use-dom-lint v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

eslint-plugin-use-dom-lint

使用节点包裹

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-use-dom-lint:

$ npm install eslint-plugin-use-dom-lint --save-dev

Usage

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

{
  "plugins": ["use-dom-lint"]
}

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

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

Supported Rules

  • Fill in provided rules here