19.0.0-beta-bafa41b-20250307 • Published 7 months ago

eslint-plugin-react-compiler v19.0.0-beta-bafa41b-20250307

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

eslint-plugin-react-compiler

ESLint plugin surfacing problematic React code found by the React compiler.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-react-compiler:

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

Usage

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

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

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

{
    "rules": {
        "react-compiler/react-compiler": "error"
    }
}

Rules

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

visyn_scriptsjs-style-kitmb-eslint-config@wistia/eslint-config@wolves-league/eslint-config@webpractik/eslint-config-react@tidio/eslint-plugin-tidio@touchspot/eslint-config@zemd/eslint-flat-config@zemd/eslint-reactaabeborn-rules@iridiumcms/cms@azat-io/eslint-config@chronoverse-eslint/react@2digits/eslint-config@10stars/config@greenberry/eslint-config-typescript@greenberry/linting-config@atls/config-eslint@gurgelio/eslint-config@gurja/eslint-config@ahmedbaset/eslint-config@effective/eslint-cfg@cretia/eslint-config@crossingminds/eslint-config@akrc/eslint-config@cosn/tsc@lifeomic/eslint-config-standards@moser-inc/eslint-config-react@mrroll/style-guide@newsteam/eslint@newsteam/eslint-config@klnjs/eslint-config@pleisto/eslint-plugin@pixiv/eslint-config@segware/eslint-config-react-nativemodern-web-swiss-army-knifechess-reactgestalt-root@stefanprobst/eslint-config-reacteslint-config-prosteeslint-config-pixiebrixeslint-config-hyobaneslint-config-typescript-vitnodeeslint-config-upleveledeslint-config-bananasseslint-config-buildereslint-config-current-thingeslint-config-alexandernanbergeslint-config-expo-magiceslint-config-mahireslint-plugin-twofold@lzear/eslint-config@jimmy.codes/eslint-config@m-social/eslint-config-react@destdefe/compact@destdefe/hub@destdefe/react-hub@jakubmazanec/eslint-config@fishwater/eslint-config@do-ob/eslint-config@foray1010/eslint-config@dhzh/eslint-config@nivalis/eslint-config@nozomiishii/eslint-config@eslint-sukka/react@hiddenraven/eslint-config@hellolin-eslint/react-config@erichandsen/eslint-config@debbl/eslint-config@huxy/pack@open-turo/eslint-config-react@okize/eslint-config@ocavue/eslint-config@jpotin/my-eslint-config@geops/eslint-config-react@glasshouse/style-guide
0.0.0

2 years ago