JSHint and the eclipse plugin

So, I just installed JSHint in Eclipse Kepler. I downloaded the .jshintrc file.

How to run jshint in javascript files? I do not see a menu item or place for specifying file names, etc.

Can anyone help?

+4
source share
2 answers

After adding the file .jshintrcto the project root, you need to:

Right-click your project in the Project Explorer → properties → JSHint → Configuration → Enable validation.

Also select the folders containing your js files (use slashes in the path). I split the js files into two folders customand externaland checked only user ones (and all user subfolders).

+5

jshint-eclipse :

JSHint .
, JSHint .

jshint-eclipse, ralfstx, :

, .
.
JSHint JavaScript, .

OTOH, *.js (, .min.js), , JS, JS, , ...

0

All Articles