no-invalid-remove-event-listener
UnreleasedConfiguration
rslint.config.ts
Rule Details
Prevent calling EventTarget#removeEventListener() with an inline function or
the result of an inline .bind() call. removeEventListener() must receive the
same function reference that was passed to addEventListener().
Examples of incorrect code for this rule:
Examples of correct code for this rule: