Closed RobertAKARobin closed 5 months ago
Hi @RobertAKARobin Thank you for your suggestion.I agree to add this rule. 👍
How about attrs-newline
for the rule name? There are rules that include “attrs” in the name, so it would be nice to be consistent.
"closeStyle": "newline-indent"
I don't think we need this option in this rule, we already have a rule that deals with indent. - https://html-eslint.org/docs/rules/indent
If the new rule handles indentation, then the ndent
rule and the new rule might conflict if used together.
Sure, that all makes sense to me!
Quick question. This new rule was added to the recommended list. Was it expected?
@gian1200 One of the tests failed unless the rule was added to the recommendations, so I assumed new rules were supposed to be added.
Example
Example
Example
Please let me know if this already exists — I didn't see it. If not I may try to make a PR for it.