$> man42.net Blog written by a human

There is two ways to disable a specific warning in JSHint:

Locally, by inserting a comment in your JavaScript file: /*jshint -W099 */

Globally, by editing your .jshintrc file:

  /* ... */

  // Disable "Mixed spaces and tabs":
  "-W099": false,

  // Disable "Missing radix parameter":
  "-W065": false,

  // Disable "Expected 'X' to have an indentation at Y instead at Z":
  "-W015": false,

  // Disable "Expected '===' and instead saw '=='":
  "-W116": false,
Buffer this pageShare on TumblrDigg thisShare on FacebookShare on LinkedInTweet about this on TwitterEmail this to someoneShare on Google+Share on RedditPin on Pinterest