1 # at-rule-name-newline-after
3 Require a newline after at-rule names.
7 /*↑*/ (max-width: 600px) {}
9 * The newline after this at-rule name */
12 This rule ignores `@import` in Less.
16 `string`: `"always"|"always-multi-line"`
20 There *must always* be a newline after at-rule names.
22 The following patterns are considered violations:
29 @media (min-width: 700px) and
30 (orientation: landscape) {}
33 The following patterns are *not* considered violations:
43 (orientation:landscape);
48 (min-width: 700px) and (orientation: landscape) {}
53 (min-width: 700px) and
54 (orientation: landscape) {}
57 ### `"always-multi-line"`
59 There *must always* be a newline after at-rule names in at-rules with multi-line parameters.
61 The following patterns are considered violations:
64 @import "x.css" screen and
65 (orientation:landscape);
69 @media (min-width: 700px) and
70 (orientation: landscape) {}
73 The following patterns are *not* considered violations:
85 @import "x.css" screen and (orientation:landscape);
89 @media (min-width: 700px) and (orientation: landscape) {}
94 (min-width: 700px) and
95 (orientation: landscape) {}