Open perrin4869 opened 2 years ago
Hello @perrin4869, thanks for raising this issue. This is indeed a problem, in several rules of this plugin. I have already an idea how to fix it and started a while ago with a proof-of-concept implementation, unfortunately I wasn’t able to find enough time to finish it. The change is quite big, and changes basically all rules and how they work, which could also have a lot of impact on the performance of this plugin (I don’t know yet if the impact is negative or positive though). I hope to get the PoC in a shape where I can push it soon.
Related: #296
Let's say the test file is something like:
The above will be false positives because
test
here is not a mocha global