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
Copy file name to clipboardExpand all lines: docs/rules/padding-line-between-tags.md
+17-15
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,12 @@ This rule requires or disallows newlines between sibling HTML tags.
52
52
53
53
This rule requires blank lines between each sibling HTML tag by default.
54
54
55
-
A configuration is an object which has 3 properties; blankLine, prev and next. For example, { blankLine: "always", prev: "br", next: "div" } means “one or more blank lines are required between a br tag and a div tag.” You can supply any number of configurations. If a tag pair matches multiple configurations, the last matched configuration will be used.
55
+
A configuration is an object which has 3 properties; `blankLine`, `prev` and `next`. For example, `{ blankLine: "always", prev: "br", next: "div" }` means “one or more blank lines are required between a `br` tag and a `div` tag.” You can supply any number of configurations. If a tag pair matches multiple configurations, the last matched configuration will be used.
56
56
57
57
-`blankLine` is one of the following:
58
58
-`always` requires one or more blank lines.
59
59
-`never` disallows blank lines.
60
+
-`consistent` requires or disallows a blank line based on the first sibling element.
60
61
-`prev` any tag name without brackets.
61
62
-`next` any tag name without brackets.
62
63
@@ -106,12 +107,12 @@ A configuration is an object which has 3 properties; blankLine, prev and next. F
0 commit comments