Is there a JSHint plugin for Eclipse? I can't find anything on Google.
Asked
Active
Viewed 5,929 times
2 Answers
13
You can try jshint-eclipse
I created this plug-in for use in the Eclipse RAP project. It's still in its early days but already works fine and lets you configure JSHint as needed.

Sam Hasler
- 12,344
- 10
- 72
- 106

ralfstx
- 3,893
- 2
- 25
- 41
-
As of Feb 2014 JSHint-Eclipse is very stable plugin, including JSHint 2.1.10 – Paul Verest Feb 19 '14 at 02:34
-
Very late here, but how do I get it to work? I followed the instructions on the website, but I couldn't see any errors if I create any. – Rutwick Gangurde Oct 08 '14 at 15:11
-
3In the context menu on your project, configure the directories that should be checked by JSHint. Project properties > JSHint – ralfstx Oct 11 '14 at 09:07
1
I did a JSLint Eclipse plug-in right before JSHint came out. It includes options to disable some of the more bothersome JSLint errors, like not erroring out from a var declaration in a for loop.
It's one of the packages available at https://svn.codespot.com/a/eclipselabs.org/mobile-web-development-with-phonegap/tags/r1.2/download

Paul Beusterien
- 27,542
- 6
- 83
- 139
-
2 year later project page http://code.google.com/a/eclipselabs.org/p/mobile-web-development-with-phonegap/ still points to r1.2 version. – Paul Verest Feb 19 '14 at 02:40
-
The latest release there is 1.2.91 from July 5, 2012 which is still meeting the needs of many. But if jshint-eclipse is an active development, may be a better option. – Paul Beusterien Feb 20 '14 at 05:42
-
-
It's here http://marketplace.eclipse.org/content/applaud-phonegap-android-jslintjshint#.UwqxqUJdVF4 – Paul Beusterien Feb 24 '14 at 02:43