-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Vue 2 template using Vue 3 ESLint rules? #4994
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
Since CodeSandbox is using Vetur, I wonder if this is relevant vuejs/vetur#2015 |
Hey @m-thomson , Thank you for your report! This happens because we're using codesandbox-client/packages/app/src/app/overmind/effects/vscode/LinterWorker/index.js Lines 6 to 13 in 3df865b
codesandbox-client/packages/app/src/app/overmind/effects/vscode/LinterWorker/index.js Lines 462 to 465 in 3df865b
but it seems that We're figuring out how to improve the check and will get back to you shortly! |
@m-thomson You can test the fix in #4999 here: https://pr4999.build.csb.dev/s/o19ht . |
@m-thomson The fix was just deployed, please test and confirm that it's working as expected. And thanks again for the detailed report! |
This seems to be fixed. Thanks for getting to it so quickly. |
🐛 bug report
Preflight Checklist
Contributing Guidelines
for this project.
Code of Conduct
that this project adheres to.
to file, without success.
Description of the problem
App.vue
in the sandbox I've provided. I've also attached a screenshot below.components/FormItem.vue
which triggers this Vue 3 only rule: https://eslint.vuejs.org/rules/require-slots-as-functions.htmlHow has this issue affected you? What are you trying to accomplish?
I don't want to disable ESLint.
To Reproduce
See the lines mentioned above in https://codesandbox.io/s/vue-2-eslint-problem-o19ht
Link to sandbox:
https://codesandbox.io/s/vue-2-eslint-problem-o19ht
Your Environment
Screenshot
Note from screenshot - Using Vue 2.6
The text was updated successfully, but these errors were encountered: