Skip to content

Incorrect migration of js plugin @eslint-react/eslint-plugin #377

@rakleed

Description

@rakleed

If I use @eslint-react/eslint-plugin in a project with ESLint, and I want to migrate it as a JS plugin so that missing oxlint rules are still run through ESLint, then after the migration, when I run oxlint, I get the error:

Failed to build configuration from /Users/rakleed/Developer/eslint-react-oxc-migration/.oxlintrc.json.

  × Failed to load JS plugin: @eslint-react/eslint-plugin-web-api
  │   Cannot find module '@eslint-react/eslint-plugin-web-api'

See https://github.com/rakleed/eslint-react-oxc-migration for reproduction example.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions