With the flexibility offered, it can be easily adjusted to fit your particular coding guidelines and the environment you expect your code to execute in.
|Please feel free to join us and you are always welcome to share your thoughts even if you have more reference links related to other tips and tricks that our readers may like.|
It accepts several options like “allowing debugger statements”, “tolerate eval” and more.
Also, you can let JSHint know when your code is running in a specific environment (including browser, ES5, Node.js, Rhino) which will help recognize specific pre-defined global variables.
P.S. The project is actually a fork of the popular JSLint developed by Douglas Crockford (JSON founder) but follows a different principle on controlling the code and developed/improve by the community.