-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
ESLint couldn't determine the plugin "import" uniquely #16
Comments
Conflict is generated because
Probably, a possible solution in FYI
|
@rtritto interesting, thank you for providing these details! I wonder how would this work outside of a Next.js project. |
Some duplicated dependencies in
Another interesting feature, gained with |
By this way,
FYI
Or, maybe, install and use only eslint-plugin-next instead of
|
This issue, using yarn version >= 3.2.0-rc.7, is related to a conflict with 2 different ESLint config of
eslint-plugin-import
:Steps to reproduce
yarn init -y
yarn set version canary
(currently install yarn v3.2.0-rc.9)yarn add @ijsto/eslint-config eslint eslint-config-next next react react-dom
.eslintrc.yml
file :index.js
fileyarn eslint index.js
--> output:yarn next lint index.js
--> output:Error: Plugin "import" was conflicted between ".eslintrc.yml » eslint-config-next" and ".eslintrc.yml » @ijsto/eslint-config » eslint-config-airbnb » C:\test-eslint\.yarn\__virtual__\eslint-config-airbnb-base-virtual-daa201a79f\0\cache\eslint-config-airbnb-base-npm-15.0.0-802837dd26-38626bad2c.zip\node_modules\eslint-config-airbnb-base\index.js » C:\test-eslint\.yarn\__virtual__\eslint-config-airbnb-base-virtual-daa201a79f\0\cache\eslint-config-airbnb-base-npm-15.0.0-802837dd26-38626bad2c.zip\node_modules\eslint-config-airbnb-base\rules\imports.js"
The text was updated successfully, but these errors were encountered: