Disallows space before ()
or {}
in anonymous function expressions.
Type: Object
Values: "beforeOpeningRoundBrace"
and "beforeOpeningCurlyBrace"
as child properties.
Child properties must be set to true
.
"disallowSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
}
var foo = function(){};
var Foo = {
foo: function(){}
}
array.map(function(){});
var foo = function () {};
var Foo = {
foo: function (){}
}
array.map(function() {});