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

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

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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@greenberry/eslint-config-typescript@greenberry/linting-config@gurgelio/eslint-config@gurja/eslint-config@effective/eslint-cfg@lifeomic/eslint-config-standards@newsteam/eslint@newsteam/eslint-configmodern-web-swiss-army-knife@okize/eslint-config@ocavue/eslint-config@nozomiishii/eslint-config@open-turo/eslint-config-react@huxy/pack@geops/eslint-config-react@glasshouse/style-guide@eslint-sukka/react@hiddenraven/eslint-config@hellolin-eslint/react-config@erichandsen/eslint-config@nivalis/eslint-config@fishwater/eslint-config@foray1010/eslint-config@pixiv/eslint-config@peerigon/configs@pleisto/eslint-plugingestalt-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@10stars/config@2digits/eslint-config@pretty-cozy/eslint-config@biscuittin/eslint-config@cfx-dev/eslint-config-ui@chronoverse-eslint/react@azat-io/eslint-config@babbel/eslint-configchess-react@ahmedbaset/eslint-config@atls/config-eslint@akrc/eslint-config@mrroll/style-guide@mui/internal-code-infra@mui/infra@klnjs/eslint-config@debbl/eslint-config@jakubmazanec/eslint-config@iridiumcms/cms@crossingminds/eslint-config@cretia/eslint-config@cosn/tsc@lzear/eslint-config@m-social/eslint-config-react@jimmy.codes/eslint-config@risemaxi/syntactio@destdefe/compact@destdefe/hub@destdefe/react-hub@robot-inventor/eslint-config@do-ob/eslint-config@dhzh/eslint-config@jpotin/my-eslint-config@salutejs/eslint-config@mirite/eslint-config-mirite@mkas3/eslint@monstermann/eslint-config@moccona/eslint-config@segware/eslint-config-react-native
0.0.0

2 years ago