Since installing ReSharper 9, I noticed that it now highlights parts of javascript code where a type coercion occurs:
'==' tries to coerce values before comparing them which can lead to some unexpected results
Is it possible to disable these warnings? I've had a quick look in Resharper -> Options -> Code Editing -> Javascript, but can't find the option I'm looking for anywhere.
Just found the answer myself:
Resharper -> Options -> Code Inspection -> Inspection Severity
In JS tab
Using of coerced equality operator
has to be set to
'Do not show'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With