eslint-plugin-react now supports ESLint v9. This PR updates @eslint/migrate-config to not use the compat utility with eslint-plugin-react in generated configs.
What changes did you make? (Give an overview)
Removed eslint-plugin-react from the list of plugins that need the compat utility.
Also replaced eslint-plugin-react with eslint-plugin-import in tests that checks how migration works with two plugins that need the compat utility.
Related Issues
Is there anything you'd like reviewers to focus on?
Prerequisites checklist
What is the purpose of this pull request?
eslint-plugin-react
now supports ESLint v9. This PR updates@eslint/migrate-config
to not use the compat utility witheslint-plugin-react
in generated configs.What changes did you make? (Give an overview)
Removed
eslint-plugin-react
from the list of plugins that need the compat utility.Also replaced
eslint-plugin-react
witheslint-plugin-import
in tests that checks how migration works with two plugins that need the compat utility.Related Issues
Is there anything you'd like reviewers to focus on?