Requires space after comma
Types: Boolean
, or Object
Values:
Boolean
: true
to require a space after any commaObject
:"allExcept"
array of exceptions:"trailing"
ignore trailing commas"requireSpaceAfterComma": true
"requireSpaceAfterComma": {"allExcept": ["trailing"]}
true
var a, b;
true
var a,b;
{"allExcept": ["trailing"]}
var a = [1, 2,];
{"allExcept": ["trailing"]}
var a = [a,b,];