Skip to content
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

@vue/cli-plugin-eslint needs to update eslint-loader[deprecated] to eslint-webpack-plugin #5926

Closed
ccsv opened this issue Oct 4, 2020 · 0 comments · Fixed by #6094
Closed
Labels
intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. scope: eslint

Comments

@ccsv
Copy link

ccsv commented Oct 4, 2020

Version

4.5.6

Environment info

Environment Info:

  System:
    OS: Windows 10 10.0.18363
    CPU: (8) x64 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
  Binaries:
    Node: 12.16.1 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.18362.449.0)
  npmPackages:
    @ckeditor/ckeditor5-vue: ^1.0.3 => 1.0.3
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-helper-vue-transform-on:  1.0.0-rc.2
    @vue/babel-plugin-jsx:  1.0.0-rc.3
    @vue/babel-plugin-transform-vue-jsx:  1.1.2
    @vue/babel-preset-app:  4.5.6
    @vue/babel-preset-jsx:  1.1.2
    @vue/babel-sugar-functional-vue:  1.1.2
    @vue/babel-sugar-inject-h:  1.1.2
    @vue/babel-sugar-v-model:  1.1.2
    @vue/babel-sugar-v-on:  1.1.2
    @vue/cli-overlay:  4.5.6
    @vue/cli-plugin-babel: ^4.5.6 => 4.5.6
    @vue/cli-plugin-eslint: ^4.5.6 => 4.5.6
    @vue/cli-plugin-router: ^4.5.6 => 4.5.6
    @vue/cli-plugin-unit-jest: ^4.5.6 => 4.5.6
    @vue/cli-plugin-vuex: ^4.5.6 => 4.5.6
    @vue/cli-service: ^4.5.6 => 4.5.6
    @vue/cli-shared-utils:  4.5.6
    @vue/component-compiler-utils:  3.2.0
    @vue/eslint-config-prettier: ^6.0.0 => 6.0.0
    @vue/preload-webpack-plugin:  1.1.2
    @vue/test-utils: ^1.1.0 => 1.1.0
    @vue/web-component-wrapper:  1.2.0
    bootstrap-vue: ^2.17.3 => 2.17.3
    eslint-plugin-vue: ^7.0.0 => 7.0.0
    jest-serializer-vue:  2.0.2
    portal-vue: ^2.1.6 => 2.1.7
    typescript: ^4.0.3 => 4.0.3
    vue: ^2.6.12 => 2.6.12
    vue-apollo: ^3.0.4 => 3.0.4
    vue-cli-plugin-apollo: ^0.22.2 => 0.22.2
    vue-cli-plugin-bootstrap-vue: ^0.7.0 => 0.7.0
    vue-eslint-parser:  7.1.0
    vue-functional-data-merge:  3.1.0
    vue-hot-reload-api:  2.3.4
    vue-jest:  3.0.7
    vue-loader:  15.9.3 (16.0.0-beta.8)
    vue-router: ^3.4.5 => 3.4.5
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.12 => 2.6.12
    vue-template-es2015-compiler:  1.9.1
    vuex: ^3.5.1 => 3.5.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

install cli-plugin-eslint

run npm audit

What is expected?

You will get a warning:

npm WARN [email protected] requires a peer of eslint@>=1.6.0 <7.0.0 but none is installed. You must install peer dependencies yourself.

What is actually happening?

Package is deprecated it can be verified at https://www.npmjs.com/package/eslint-loader


Update eslint-loader which is depricated to eslint-webpack-plugin

see: https://www.npmjs.com/package/eslint-loader

@haoqunjiang haoqunjiang added intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. scope: eslint labels Oct 7, 2020
haoqunjiang pushed a commit that referenced this issue Dec 7, 2020
closes #5926, using eslint-webpack-plugin can fix the problem of eslint-loader caused by cache-loader

closes #3065 
closes #5399 
closes #4425
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. scope: eslint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants