Disallows space before ()
or {}
in function expressions (both named
and anonymous) and function declarations.
Type: Object
Values: "beforeOpeningRoundBrace"
and "beforeOpeningCurlyBrace"
as child properties.
Child properties must be set to true
.
"disallowSpacesInFunction": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
}
var x = function(){};
var x = function a(){};
function a(){}
var x = function() {};
var x = function (){};
var x = function () {};
var x = function a() {};
var x = function a (){};
var x = function a () {};
function a() {}
function a (){}
function a () {}