Reputation: 1228
Using IntelliJ 2016.3
I am trying to find out where this inspection is so I can disable it. When I click the light bulb to disable, there is no option. I've verified that the inspection is incorrect at the Node.js documentation.
Invalid number of arguments, expected 0..1
I've searched through the preferences with no success. What would be really nice is an answer on how to find inspections based on the error text they provide.
Upvotes: 0
Views: 125
Reputation: 558
That specific inspection OP is referencing to is found in
Settings -> Editor -> Inspections -> JavaScript -> General -> Signature Mismatch.
Where it also can be disabled or it's severity can be edited.
Upvotes: 0
Reputation: 12938
Unfortunately there's no such a direct automated method for that task. The best thing you can do to find out the problem is
And specifically for your issue, I found this. And because you find this as a false positive, generally it can be because of your plugins are outdated or version conflicts between the libraries you are using. Hope this helps you to solve the problem. :))
Upvotes: 2