-
-
Notifications
You must be signed in to change notification settings - Fork 680
Same rule has different priority in style guide and in eslint-plugin-vue #540
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
Thank you for this issue. I think you are looking for no-use-v-if-with-v-for. |
My bad. vetur didn't show a warning so I thought that there is no such rule. Closing this issue. |
I found out that vetur didn't show a warning because
|
You are right. We should fix it in |
Updated on master |
Uh oh!
There was an error while loading. Please reload this page.
Please describe what the rule should do:
Provide a warning when using
v-if
on the same element asv-for
.What category of rule is this? (place an "X" next to just one item)
[x] Enforces code style
[ ] Warns about a potential error
[ ] Suggests an alternate way of doing something
[ ] Other (please specify:)
Provide 2-3 code examples that this rule will warn about:
Why should this rule be included
v-if
withv-for
, safari will have some wrong behave. I can bypass it if I follow style guide's suggestion (see link above). Wrong behave in Safari vuepress#678The text was updated successfully, but these errors were encountered: