Closed RobertAKARobin closed 2 weeks ago
Actually this seems to be a bug with checking sibling elements in general. Updated the main post.
Hi @RobertAKARobin
This rule has an object option: "skip": skips newline checking for the specified element's children
This seems not a bug. The skip
option skips checking children's newlines of the specified tag.
This additional functionality added in https://github.com/yeonjuan/html-eslint/pull/214
For example, this test fails. It should pass because
b
andc
are skipped: