remithomas / eslint-plugin-ban

Ban some methods and functions
ISC License
31 stars 4 forks source link

fix reporting for function call #16

Closed FDIM closed 3 years ago

FDIM commented 3 years ago

Turns out it was a simple bug :)

Fixes #14

Before: image

After: image

Don't mind the old code in the screenshot :D

Just an FYI, I work on windows and had to disable pre commit hook. When I check out code git replaces LF with CRLF and replaces them back to LF on commit. Prettier was not happy about this.