Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable javascript type coercion warning in Resharper

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.

like image 302
Jerry Avatar asked Mar 31 '15 12:03

Jerry


1 Answers

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'

like image 149
Jerry Avatar answered Oct 01 '22 04:10

Jerry