-
-
Notifications
You must be signed in to change notification settings - Fork 723
Labels
A-linter-pluginsArea - Linter JS pluginsArea - Linter JS plugins
Description
What version of Oxlint are you using?
1.25.0
What command did you run?
oxlint
What does your .oxlintrc.json config file look like?
What happened?
I am trying to use Oxlint with these React Compiler rules babel plugin source, but I cannot enable the eslint-plugin-react-hooks (the plugin that has these rules as defined here.
But the react-hooks is apparently a reserved name so you can't use this?
afaik oxlint hasn't implemented any of the compiler rules into the built-in react plugin so how are we supposed to use this?
Thanaen
Metadata
Metadata
Assignees
Labels
A-linter-pluginsArea - Linter JS pluginsArea - Linter JS plugins
{ "$schema": "./node_modules/oxlint/configuration_schema.json", "env": { "builtin": true }, "jsPlugins": ["eslint-plugin-react-hooks"], "rules": { "react-hooks/unsupported-syntax": "error", "react-hooks/use-memo": "error", "react-hooks/void-use-memo": "error", "react-hooks/incompatible-library": "error" } }