1 # declaration-block-trailing-semicolon
3 Require or disallow a trailing semicolon within declaration blocks.
6 a { background: orange; color: pink; }
11 The trailing semicolon is the *last* semicolon in a declaration block and it is optional.
13 This rule will ignore Less mixins, trailing `//` comments, and declaration blocks containing nested (at-)rules.
17 `string`: `"always"|"never"`
21 There *must always* be a trailing semicolon.
23 The following patterns are considered violations:
30 a { background: orange; color: pink }
37 The following patterns are *not* considered violations:
44 a { background: orange; color: pink; }
53 There *must never* be a trailing semicolon.
55 The following patterns are considered violations:
62 a { background: orange; color: pink; }
65 The following patterns are *not* considered violations:
72 a { background: orange; color: pink }