Disallows space after opening and before closing grouping parentheses.
Types: Boolean
or Object
Values:
true
: always disallow spaces inside grouping parenthesesObject
:"allExcept"
: [ "{", "}", "function" ]
Ignore parenthesized objects and functions"disallowSpacesInsideParenthesizedExpression": true
// or
"disallowSpacesInsideParenthesizedExpression": {
"allExcept": [ "{", "}" ]
}
true
var x = (1 + obj.size) * (2);
{ allExcept": [ "{", "}", "function" ] }
var x = (options || { x: true } ).x;
var global = ( function() { return this; } )();
var x = ( 1 + obj.size ) * ( 2 );