-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
Vue 2/3 Eslint rules #2015
Comments
Hi @octref.
The following existing rulesets have been changed for use with Vue.js 2.x for compatibility. Every ruleset contains Let me know if you have any other help. |
@ota-meshi How can I make vetur use |
@ota-meshi Great work. I have made the bundled eslint engine to load different rulesets depending on Vue version. @FrankFang Detailed steps are in https://vuejs.github.io/vetur/linting-error.html |
Currently, if you start a project with Vue 3 and is using multi-root elements:
I'm planning to turn automatic template validation based on eslint off, so this wouldn't mislead users.
In the long term, I hope there could be 2 eslint rulesets, one for Vue 2 and one for Vue 3. Depending on the
vue
dependency version inpackage.json
, choose which one to load.@ota-meshi it seems you are doing a lot of work for the eslint-vue plugin. Would you be able to help creating the rulesets, or tell me which rules I should/shouldn't load for Vue 3?
The text was updated successfully, but these errors were encountered: