and is there a way to make webstorm a bit "louder" when it comes to simple erorrs? the variable 'so' is not set in this code but WebStorm isn't raising a visible enough red flag.
s
stalbert
07/30/2021, 4:53 AM
switch to typescript and you should get a loud compilation error.
c
CD
07/30/2021, 8:13 AM
May be something in settings->Editor->Inspections. ESLint/JSHint (Code Quality Tools menu) might do it
CD
07/30/2021, 8:17 AM
Found it. settings->Editor->Inspections->JavaScript & TypeScript->General. Unresolved JavaScript Variable. Click on it, change severity to Error