eslint-plugin-react-flow

0.0.1 • Public • Published

eslint-plugin-react-flow

Eslint flow type specific rules for React project

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-react-flow:

$ npm install eslint-plugin-react-flow --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-react-flow globally.

Usage

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

{
    "plugins": [
        "react-flow"
    ]
}

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

{
    "rules": {
        "react-flow/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-react-flow

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

8.61 kB

Total Files

7

Last publish

Collaborators

  • kiwka