disallowUnusedParams

Disallows unused params in function expression and function declaration.

Types: Boolean

Values: true

Example

"disallowUnusedParams": true
Valid
function x(test) {
    return test;
}

var x = function(test) {
    return test;
}
Invalid
  * function x(test) {
}

var x = function(test) {
}
Rule source
Test source