disallowFunctionDeclarations

Disallows function declarations.

Type: Boolean

Value: true

Example

"disallowFunctionDeclarations": true
Valid
var expressed = function() {

};

var expressed = function deeply() {

};

$('#foo').click(function bar() {

});
Invalid
function stated() {

}
Rule source
Test source