|
|
|
|
|
by galaxyLogic
803 days ago
|
|
It is not an error true but it shows in the list with a yellow icon. But that means my list of "problems" is huge (because I prefer the shorter version of the expression). I would like the problems-list to be empty. The problem is the long list often hides real errors in it. I would like to spot those more easily. But I'll try your suggestions, maybe there's a way to make this warning disappear altogether from the list. I still don't think, and don't understand, why it is a "problem" since the equivalent longer expression is not. It feels like WebStorm is mandating its own JavaScript-rules on me and my programming style. |
|
It certainly looks like an error because it is red and there are also other problems listed which are preceded by a yellow-background icon.
So I think WebStorm thinks this is an error, not a warning.