eslint-plugin-nuxt
eslint-plugin-nuxt copied to clipboard
Missing peer dependency `eslint`
When using yarn v2, I get the following warning:
$ yarn
➤ YN0002: │ eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint (p4e478), requested by vue-eslint-parser
➤ YN0002: │ eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint (pe0984), requested by eslint-plugin-vue
Getting more information on the hash:
$ yarn explain peer-requirements p4e478
➤ YN0000: eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint, breaking the following requirements:
➤ YN0000: vue-eslint-parser@npm:7.4.1 [2a062] → >=5.0.0 ✘
$ yarn explain peer-requirements pe0984
➤ YN0000: eslint-plugin-nuxt@npm:2.0.0 doesn't provide eslint, breaking the following requirements:
➤ YN0000: eslint-plugin-vue@npm:7.5.0 [2a062] → ^6.2.0 || ^7.0.0 ✘
I am not sure what the right thing to do here is. eslint is already specified in devDependencies and as far as I know you can't specify a dependency again in peer.