0.1.5 • Published 3 years ago

eslint-plugin-react-func1 v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

eslint-plugin-react-func

max lines per function for react

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-react-func:

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

or

$ yarn add eslint-plugin-react-func -D

Usage

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

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

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

{
    "rules": {
        "react-func/max-lines-per-function": ["error", 20]
    }
}

Supported Rules

  • Fill in provided rules here
0.1.4

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago