Questions tagged [jshint]

JSHint is a static code analysis tool used in software development for checking if JavaScript source code complies with coding rules. A command-line version of JSHint, distributed as a Node.JS module, makes it possible to automate one's "linting" process and integrate JSHint into the website's development workflow.

2 questions
7
votes
1 answer

How can I get jshint to work?

I installed jshint using sudo npm install -g jshint, and it seems to have worked: $which jshint /usr/local/bin/jshint Yet running jshint or its full path equivalent doesn't seem to do anything. It doesn't give an error, either--it just does…
Jonathan
  • 7,470
0
votes
1 answer

Ubuntu Sublime Text 3 SublimeLinter jshint not working

I just can't get jshint working on my sublime text3.. I already install SublimeLinter package and sublimelinter-jshint.. I also already install node.js and instal jshint modules with this command sudo npm install -g jshint but it's just not…