-
Notifications
You must be signed in to change notification settings - Fork 32
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
14.0.0 Parsing error: Invalid ecmaVersion on components with no <script> tag #87
Comments
Debugging via espree seems that ecmaversion that is passed in is "2025"
And this again seems to be an upstream issue with eslint-plugin-vue that supplies espree 9.6.1 that doesnt support es2025 (16) but v10 does. |
Seems like this issue was resolvable by re-creating package.json, which suggests that the current |
Adding |
It is indeed a bug, though very subtle. Thanks for reporting! |
same issue in 14.1.3 |
Vue components doesn't need script tags, eslint fails when trying to parse components with no script tag with
reproduction available in https://github.com/chrisnruud/eslint9test
The text was updated successfully, but these errors were encountered: