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
I am trying to adopt your linter in our project to validate small HTML-like template files and found that it has no option to allow any element to be self-closing.
I khow it is a non-standard HTML syntax (more like an XML Empty-element tags), but this is what we have in our templates.
Would you mind adding a way to solve this? Maybe another option for the require-closing-tags rule in addition to selfClosing? Or do you prefer to stick with HTML standard syntax?
@sergey-v9 Hi, Thanks for the new issue.
I agree about the feature but it's hard to implement it quickly.
Our parser follows standard HTML syntax which does not allow self-closing for custom elements so it's hard to handle at the linter level.
I am trying to adopt your linter in our project to validate small HTML-like template files and found that it has no option to allow any element to be self-closing.
I khow it is a non-standard HTML syntax (more like an XML Empty-element tags), but this is what we have in our templates.
Would you mind adding a way to solve this? Maybe another option for the
require-closing-tags
rule in addition toselfClosing
? Or do you prefer to stick with HTML standard syntax?playground example with warning
The text was updated successfully, but these errors were encountered: