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/html-closing-bracket-newline.md
+16-26
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ This rule enforces a line break (or no line break) before tag's closing brackets
25
25
{
26
26
"vue/html-closing-bracket-newline": ["error", {
27
27
"singleline": "never",
28
-
"multiline": "never"
28
+
"multiline": "always"
29
29
}]
30
30
}
31
31
```
@@ -34,63 +34,53 @@ This rule enforces a line break (or no line break) before tag's closing brackets
34
34
-`"never"` ... disallow line breaks before the closing bracket. This is the default.
35
35
-`"always"` ... require one line break before the closing bracket.
36
36
-`multiline` ... the configuration for multiline elements. It's a multiline element if the last attribute is not on the same line of the opening bracket.
37
-
-`"never"` ... disallow line breaks before the closing bracket. This is the default.
38
-
-`"always"` ... require one line break before the closing bracket.
37
+
-`"never"` ... disallow line breaks before the closing bracket.
38
+
-`"always"` ... require one line break before the closing bracket. This is the default.
39
39
40
40
Plus, you can use [`vue/html-indent`](./html-indent.md) rule to enforce indent-level of the closing brackets.
41
41
42
42
:-1: Examples of **incorrect** code for this rule:
0 commit comments