1 # declaration-block-semicolon-space-before
3 Require a single space or disallow whitespace before the semicolons of declaration blocks.
8 * The space before this semicolon */
11 This rule ignores semicolons that are preceded by Less mixins.
15 `string`: `"always"|"never"|"always-single-line"|"never-single-line"`
19 There *must always* be a single space before the semicolons.
21 The following patterns are considered violations:
28 a { color: pink; top: 0; }
31 The following patterns are *not* considered violations:
38 a { color: pink ; top: 0 ; }
43 There *must never* be whitespace before the semicolons.
45 The following patterns are considered violations:
52 a { color: pink ; top: 0 ; }
55 The following patterns are *not* considered violations:
62 a { color: pink; top: 0; }
65 ### `"always-single-line"`
67 There *must always* be a single space before the semicolons in single-line declaration blocks.
69 The following patterns are considered violations:
75 The following patterns are *not* considered violations:
82 a { color: pink; top: 0; }
86 a { color: pink ; top: 0 ; }
89 ### `"never-single-line"`
91 There *must never* be whitespace before the semicolons in single-line declaration blocks.
93 The following patterns are considered violations:
99 The following patterns are *not* considered violations:
106 a { color: pink; top: 0; }
110 a { color: pink ; top: 0 ; }