Rule: unnecessary-bind
Prevents unnecessary and/or misleading scope bindings on functions.
Rationale
function
expressions that are immediately bound to this
are equivalent to () =>
arrow lambdas.
Additionally, there’s no use in binding a scope to an arrow lambda, as it already has one.
Notes:
Config
Not configurable.
Config examples
"unnecessary-bind": true
Schema
null