@tech-f5ve/eslint-plugin-react

1.0.3 • Public • Published

@tech-f5ve/eslint-plugin-react

使用节点包裹

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @tech-f5ve/eslint-plugin-react:

$ npm install @tech-f5ve/eslint-plugin-react --save-dev

Usage

Add @tech-f5ve/react to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["@tech-f5ve/react"]
}

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

{
  "rules": {
    "@tech-f5ve/react/rule-name": 2
  }
}

Supported Rules

  • JSXExpression-right-not-node
  • space-between-word

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @tech-f5ve/eslint-plugin-react

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

7.65 kB

Total Files

8

Last publish

Collaborators

  • hamomo