You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
console.log(window.document);
Here are the errors that the JSLint package is returning when I save it:
/Users/fleep/example.js
#1 Undeclared 'console'.
console.log(window.document); // Line 1, Pos 1
#2 Undeclared 'window'.
console.log(window.document); // Line 1, Pos 13
[Finished in 0.1s]
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: