Closed AlexanderOMara closed 6 years ago
+1
:+1:
+1
recent 2.8.0 doesn't work either :(
+1for 2.8.0
Played with this a bit and it is caused by a non-working global scope detection. This can be workarounded if you place var window = this;
at the beginning of the JS file (tested with 2.9.0).
All in all this is JSHint vs Rhino integration issue.
Attempting to use the "Provide a custom JSHint library file" preference with
jshint.js
version2.5.10
results in the the following error in the dialog.If I point it at a
jshint.js
version2.5.6
I have (not the built-in one) it works, but2.5.10
results in this error. Note this issue may not be new in2.5.10
, I haven't tried2.5.7
-2.5.9
.