Open fleep opened 9 years ago
Same here, last week, no error. And today, 44 error in a file.
function template() {
return this;
}
Show
Unexpected 'this'.
@jerjako @fleep Exact same for me ddid you get a fix?
JSLint itself no longer supports some of those options. It has gotten a lot more opinionated. Fortunately you can install whatever version of JSLint you want on your system and point the config file at it.
I have completely wiped and reinstalled this package to be sure nothing was corrupted. It seems to be sending the correct query on the command line to jslint.js (I am using the one provided with the package), and passing along the correct declarations - but it's not working regardless.
Here is an example file:
Here are the errors that the JSLint package is returning when I save it:
Here is my USER Settings file:
and here is what's being executed according to ST3's console:
With browser set to "true" and "console" in the --predef options, I shouldn't be getting either of the errors I'm seeing for the posted example. What gives?