1 # function-comma-newline-before
3 Require a newline or disallow whitespace before the commas of functions.
6 a { transform: translate(1
14 `string`: `"always"|"always-multi-line"|"never-multi-line"`
18 There *must always* be a newline before the commas.
20 The following patterns are considered violations:
23 a { transform: translate(1,1) }
27 a { transform: translate(1 ,1) }
31 a { transform: translate(1,
35 The following patterns are *not* considered violations:
39 transform: translate(1
46 transform: translate(1
51 ### `"always-multi-line"`
53 There *must always* be a newline before the commas in multi-line functions.
55 The following patterns are considered violations:
58 a { transform: translate(1,
62 The following patterns are *not* considered violations:
65 a { transform: translate(1,1) }
69 a { transform: translate(1 ,1) }
74 transform: translate(1
81 transform: translate(1
86 ### `"never-multi-line"`
88 There *must never* be a whitespace before the commas in multi-line functions.
90 The following patterns are considered violations:
93 a { transform: translate(1 ,
97 The following patterns are *not* considered violations:
100 a { transform: translate(1 ,1) }
104 a { transform: translate(1 , 1) }
109 transform: translate(1,