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

wrong output in vue-eslint-parser #981

Closed
Mister-Hope opened this issue Nov 7, 2019 · 2 comments · Fixed by #984
Closed

wrong output in vue-eslint-parser #981

Mister-Hope opened this issue Nov 7, 2019 · 2 comments · Fixed by #984

Comments

@Mister-Hope
Copy link
Contributor

Mister-Hope commented Nov 7, 2019

Tell us about your environment

  • ESLint version: 6.6.0
  • eslint-plugin-vue version: 6.0.0
  • Node version: 12.13.0

When installing

npm WARN [email protected] requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.

It should not be displayed since you said eslint-plugin-vue support eslintV6

@ota-meshi
Copy link
Member

Thank you for this issue.

As you say, vue-eslint-parser defines eslint@^5.0.0 in peerDependencies.

vue-eslint-parser still needs to be updated to officially support ESLint@6. However, a new version of vue-eslint-parser has not been released yet.

Also, currently a message is displayed on npm install, but eslint-plugin-vue works fine with ESLint@6.

#920 (comment)

@luzik
Copy link

luzik commented Nov 8, 2019

Then how to install it ?
On fresh install i got such line in dependency tree:
UNMET PEER DEPENDENCY eslint@^5.0.0
and eslint shows ESLint couldn't find the plugin "eslint-plugin-vue".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants