1 # block-closing-brace-space-after
3 Require a single space or disallow whitespace after the closing brace of blocks.
8 * The space after this brace */
11 This rule allows a trailing semicolon after the closing brace of a block. For example,
16 background-color: hsl(120, 70%, 95%);
25 `string`: `"always"|"never"|"always-single-line"|"never-single-line"|"always-multi-line"|"never-multi-line"`
29 There *must always* be a single space after the closing brace.
31 The following patterns are considered violations:
34 a { color: pink; }b { color: red; }
42 The following patterns are *not* considered violations:
45 a { color: pink; } b { color: red; }
50 There *must never* be whitespace after the closing brace.
52 The following patterns are considered violations:
55 a { color: pink; } b { color: red; }
63 The following patterns are *not* considered violations:
66 a { color: pink; }b { color: red; }
74 ### `"always-single-line"`
76 There *must always* be a single space after the closing brace in single-line blocks.
78 The following patterns are considered violations:
81 a { color: pink; }b { color: red; }
84 The following patterns are *not* considered violations:
87 a { color: pink; } b { color: red; }
95 ### `"never-single-line"`
97 There *must never* be whitespace after the closing brace in single-line blocks.
99 The following patterns are considered violations:
102 a { color: pink; } b { color: red; }
105 The following patterns are *not* considered violations:
108 a { color: pink; }b { color: red; }
116 ### `"always-multi-line"`
118 There *must always* be a single space after the closing brace in multi-line blocks.
120 The following patterns are considered violations:
127 The following patterns are *not* considered violations:
130 a { color: pink; }b { color: red; }
138 ### `"never-multi-line"`
140 There *must never* be whitespace after the closing brace in multi-line blocks.
142 The following patterns are considered violations:
149 The following patterns are *not* considered violations:
152 a { color: pink; } b { color: red; }