-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
eslintrc.js parserOptions has no parser key after creating the project with eslint and typescript #5745
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
I find code in https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-plugin-eslint/eslintOptions.js#L15 |
You can look at here https://github.com/zhouxinyong/vue-cli-issue/blob/master/.eslintrc.js . |
The generated config extends from |
but in the created repo above,when you clone and open in vscode
after I edit .eslintrc.js, add @sodatea something may be wrong in |
The error has nothing to do with the parser option. It disappears only because of this bug #3065 (comment) |
Version
4.5.0
Reproduction link
https://github.com/zhouxinyong/vue-cli-issue/blob/master/.eslintrc.js
Environment info
Steps to reproduce
What is expected?
.eslintrc.js parserOptions has key parser
which value is @typescript-eslint/parser
What is actually happening?
.eslintrc.js parserOptions has no key parser
The text was updated successfully, but these errors were encountered: