Skip to content

TECHF5VE/eslint-plugin-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tech-f5ve/eslint-plugin-react

Some eslint rules ,if you use react ,they will be useful.

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

Releases

No releases published

Packages

No packages published