disallowSpacesInsideParentheses

Disallows space after opening round bracket and before closing.

Types: Boolean or Object

Values: Either true or Object with "only" property as an array of tokens

Example

"disallowSpacesInsideParentheses": true
Valid for true value
var x = (1 + 2) * 3;
Valid for only value
"disallowSpacesInsideParentheses": { "only": [ "{", "}", "\"" ] }
var x = ( 1 + 2 );
var x = foo({});
var x = foo("1");
Invalid
var x = foo( {} );
Rule source
Test source