1 # function-comma-space-before
3 Require a single space or disallow whitespace before the commas of functions.
6 a { transform: translate(1 ,1) }
8 * The space before these commas */
13 `string`: `"always"|"never"|"always-single-line"|"never-single-line"`
17 There *must always* be a single space before the commas.
19 The following patterns are considered violations:
22 a { transform: translate(1,1) }
26 a { transform: translate(1, 1) }
29 The following patterns are *not* considered violations:
32 a { transform: translate(1 ,1) }
36 a { transform: translate(1 , 1) }
41 There *must never* be whitespace before the commas.
43 The following patterns are considered violations:
46 a { transform: translate(1 ,1) }
50 a { transform: translate(1 , 1) }
53 The following patterns are *not* considered violations:
56 a { transform: translate(1,1) }
60 a { transform: translate(1, 1) }
63 ### `"always-single-line"`
65 There *must always* be a single space before the commas in single-line functions.
67 The following patterns are considered violations:
70 a { transform: translate(1,1) }
74 a { transform: translate(1, 1) }
77 The following patterns are *not* considered violations:
80 a { transform: translate(1 ,1) }
84 a { transform: translate(1 , 1) }
89 transform: translate(1,
94 ### `"never-single-line"`
96 There *must never* be whitepace before the commas in single-line functions.
98 The following patterns are considered violations:
101 a { transform: translate(1 ,1) }
105 a { transform: translate(1 , 1) }
108 The following patterns are *not* considered violations:
111 a { transform: translate(1,1) }
115 a { transform: translate(1, 1) }
120 transform: translate(1 ,