Closed bcowgill closed 8 years ago
Can't repro [const1, const2, , , const3];
shows errors as expected, we also have tests which proves it - https://github.com/jscs-dev/node-jscs/blob/2cdb26d172fc8e19779dffcbab88ca8ab8f06fb9/test/specs/rules/disallow-space-after-comma.js#L58
// Valid for mode {"allExcept": ["sparseArrays"]} [const1,const2, , ,const3];
// Invalid for mode {"allExcept": ["sparseArrays"]} [const1, const2, , , const3];
Both examples from the documentation appear to be valid