We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
None
import importPlugin from 'eslint-plugin-import' import withNuxt from './.nuxt/eslint.config.mjs' export default withNuxt({ importPlugin.flatConfigs.recommended, })
I'm trying to use eslint-plugin-import (https://github.com/import-js/eslint-plugin-import) and I get the error:
eslint-plugin-import
Error: ESLintFlatConfigUtils: Different instances of plugin "import" found in multiple configs: nuxt/import/rules, import/recommended.
This is because import plugin is already used here (totally undocumented btw) https://github.com/nuxt/eslint/blob/main/packages/eslint-config/src/flat/configs/import.ts
I'd rather use the eslint-plugin-import plugin because:
Can I suggest we switch to eslint-plugin-import which is maintained?
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Package
None
Reproduction
Describe the bug
I'm trying to use
eslint-plugin-import
(https://github.com/import-js/eslint-plugin-import) and I get the error:This is because import plugin is already used here (totally undocumented btw) https://github.com/nuxt/eslint/blob/main/packages/eslint-config/src/flat/configs/import.ts
I'd rather use the eslint-plugin-import plugin because:
Can I suggest we switch to eslint-plugin-import which is maintained?
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: