eslint icon indicating copy to clipboard operation
eslint copied to clipboard

Conflicting with @vue/eslint-config-typescript > 11.0.2

Open MartinX3 opened this issue 2 years ago • 3 comments

Since v11.0.3 of @vue/eslint-config-typescript I get the following error:

Oops! Something went wrong! :(

ESLint: 8.39.0

ESLint couldn't determine the plugin "@typescript-eslint" uniquely.

- /home/developer/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@typescript-eslint/eslint-plugin/dist/index.js (loaded in ".eslintrc.js » @vue/eslint-config-typescript/recommended » plugin:@typescript-eslint/recommended » ./configs/base")
- /home/developer/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@typescript-eslint/eslint-plugin/dist/index.js (loaded in ".eslintrc.js » @nuxtjs/eslint-config-typescript")

Please remove the "plugins" setting from either config or remove either plugin installation.

MartinX3 avatar Apr 25 '23 17:04 MartinX3

I'll take a look, but note that you should not need both configs.

danielroe avatar Apr 25 '23 18:04 danielroe

@danielroe oh, i thought I need both in my vuetify nuxt bridge project. Especially since this repo is months old and doesn't tell me not to use the vue version in the readme.

Which package should I prefer? What are the downsides of using both? Don't I need the rules of both packages for good linted code?

Sadly I don't find anything useful in the internet.

MartinX3 avatar Apr 26 '23 07:04 MartinX3

@danielroe Any update on this and my questions? (I thought this plugin uses @vue/eslint-config-typescript as a base)

MartinX3 avatar May 11 '23 16:05 MartinX3

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info. Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required

antfu avatar Mar 19 '24 13:03 antfu