Closed cpylua closed 4 years ago
"ban/ban": [ "error", { "name": ["*", "removeEventListener"], "message": "Use xx instead" } ]
this.target.removeEventListener should be an error.
this.target.removeEventListener
No error reported on this.target.removeEventListener
Hey @cpylua, thanks for your report. Indeed it should throw an error, I will fix that as soon as possible.
New version 1.4.0 published. Thanks again for the report @cpylua 👍
Config
Expected
this.target.removeEventListener
should be an error.Current behavior
No error reported on
this.target.removeEventListener