-
-
Notifications
You must be signed in to change notification settings - Fork 681
Since v10.0.0 cannot lint Vue with export type
#2702
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 found out that the |
ping @JoshuaKGoldberg & @bradzacher 👀 |
Might also be related to changes in https://github.com/vuejs/vue-eslint-parser/releases/tag/v10.0.0, which happened alongside https://github.com/vuejs/eslint-plugin-vue/releases/tag/v10.0.0. |
I have fixed vue-eslint-parser. Could you please try using [email protected]? https://github.com/vuejs/vue-eslint-parser/releases/tag/v10.1.1 |
Yes, looks like the original issue is fixed 🚀 Thanks for the quick fix ✨ |
Updated version v10 is now running in our company code and the time for one full Lint run is reduced from ~6min to ~2min 🚀 |
I can confirm this: Our pipeline went from a painstakingly long ~27min to ~7min 🥳⚡ |
I'm getting the same |
Got it. add globals |
I added a link to https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables in the release notes. |
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
Updated from 9.33.0 to v10.0.0
What did you expect to happen?
Linting fine as in 9.33.0
What actually happened?
Error shows a conflict with
@typescript-eslint/no-unused-vars
on line 4 related to thetype
-keyword:export type FilterEditorListOption<
Need to find out if this has something todo with generics, or if it also happens on other places.
Repository to reproduce this issue
Trying to reproduce it here: https://github.com/Shinigami92/vue-eslint-2702
But right now I could not, so I need to investigate more what the cause is...Got it! Reproducible is now it the third commit: Shinigami92/vue-eslint-2702@167481a
The text was updated successfully, but these errors were encountered: