Closed mkszepp closed 1 week ago
This is probably the wrong place to fix this. The problem is that the rule is using a POJO:
to store the mapping from local names to imported names, so it will always accidentally match methods that are present on Object.
Please just change that POJO to a Map and this extra check will not be needed.
@ef4 thanks for input. Tests do pass with this change. should we hold the added tests or can we safely remove?
I think the tests can stay, thanks.
fix #2150
Unfortunately, I have no experience with eslint rules yet, but this should solve our problem