JSHint: detect errors and potential problems in your JavaScript code

JavaScriptIn the last two year I have been coding in JavaScript more than I expected, but in all this time I haven´t used a tool for detect errors in my JavaScript code until a friend told me about JSHint, that is a community-driven tool to detect errors and potential problems in JavaScript code and to enforce coding conventions. Two of the nice features that caught my attention is that enforce coding conventions and It is very flexible so you can easily adjust it to your particular coding guidelines and the environment you expect your code to execute in.

The core project consists of a library itself as well as a CLI program distributed as a Node modules. Also has plugins for text editors and IDEs like

  • Sublime Text
  • Eclipse
  • Notepad++
  • etc..

I have used it in an internal project and I like it, easily help me to detect some coding conventions that we forget to follow in one of the functions, great!!

You can test it directly on your browser to see how it works: http://www.jshint.com/

Hope you find this information useful!!