Files
react/compiler/packages/eslint-plugin-react-forget
Sathya Gunasekaran 201b46d947 [eslint] Make the plugin configurable
As part of this PR, we remove the custom defined logger and use the logger from 
the plugin options.
2023-12-14 15:37:41 +00:00
..
2023-11-14 16:59:09 +00:00
2023-12-14 15:37:41 +00:00
2023-11-09 13:00:13 -05:00

eslint-plugin-react-forget

ESLint plugin for React Forget

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-react-forget:

npm install eslint-plugin-react-forget --save-dev

Usage

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

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

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

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

Rules

TODO: Run eslint-doc-generator to generate the rules list.