I am new to Komodo IDE 10 and have been searching for how to have Komodo detect problems in my JS code. For example, it doesn’t show an error or warning if I reference a variable that doesn’t exist. It shows if I forget a semi-colon, but not the previously mentioned case. Is there a way to expand Komodo to catch all JS issues?
undef=true to the JSHint options input.
Note: some references to global variables (such as
navigator) will be undefined as well, so you have to add
devel into the input as well.
Here’s mine options:
esnext=true esversion=6 undef=true unused=true browser devel
You can review other options there: http://jshint.com/docs/options/