You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vue/no-console should work exactly the same as no-console but in the template.
What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
With 'vue/no-console': 'error', the following code should throw:
Please describe what the rule should do:
Since Vue ^3.3 now supports console in the template, a
vue/no-console
rule is needed to regulate its usage.vue/no-console
should work exactly the same asno-console
but in the template.What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
With
'vue/no-console': 'error'
, the following code should throw:The text was updated successfully, but these errors were encountered: