Disallows space after opening object curly brace and before closing.
Types: Object
, Boolean
or String
Values: "all"
or true
for strict mode, "nested"
(deprecated use "allExcept": ['}']
)
ignores closing brackets in a row.
"disallowSpacesInsideObjectBrackets": {
"allExcept": [ "}", ")" ]
}
// or
"disallowSpacesInsideObjectBrackets": true | "all" | "nested"
"all"
var x = {a: {b: 1}};
"nested"
var x = {a: {b: 1} };
"allExcept": ["}"]
var x = {a: {b: 1} };
var x = { a: { b: 1 } };