-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Issue while upgrading @vue/eslint-config-typescript v3.0.0 to v4.0.0 #3490
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
Comments
Well, I tried to create a fresh app with ESLint/TypeScript support, and I found that:
parserOptions: {
parser: '@typescript-eslint/parser',
}, and it's working. That's a bit sad we should do that. Also there is nothing in the changelog (or in an I hope this issue will help some people. |
Same question to me! I think this issue is needed! |
Maybe let's re-open this issue |
|
Should have been fixed by #5085 |
Version
3.4.1
Environment info
Steps to reproduce
Run
vue-cli-service serve
orvue-cli-service lint
What is expected?
ESLint should work.
What is actually happening?
ESLint cannot find the module "eslint-plugin-@typescript-eslint":
This is related to #3359. That's because using
"plugins": ["@typescript-eslint"]
seems to be the good way to do it.Also, I'm using ESLint 4.19.1 (packaged from @vue/cli-plugin-eslint).
I tried to manually update it to v5.14.1, but just after I have the ESLint issue "Error: Cannot find module 'eslint-plugin-vue'".
My ESLint config looks like this:
The text was updated successfully, but these errors were encountered: