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
That rule has been created in an invalid assumption: HTML does not support self-closing elements, so Vue.js as well. I have learned that Vue.js supports self-closing elements in #29.
Currently, I think that we should remove html-no-self-closing rule entirely then create new html-self-closing rule which people can configure always/never to use self-closing elements. Of course, plugin:vue/recommended should not include the new stylistic rule.
ATM I'll just disable this rule in default configuration, as otherwise we'd need to update major version which is better to be ommited in this beta period. Let's come to a point where we have a stable ground, and then we can remove unnecessary rules and activate new ones in default configuration at once with official v4, that is coming our way. cc @mysticatea
What did you expect to happen?
html-no-self-closing
should not have been included. I don't see why it should be the default. It's a preference. People used to XHTML won't like that.What actually happened?
html-no-self-closing
was enabled when usingplugin:vue/recommended
.The text was updated successfully, but these errors were encountered: