Skip to content

JSHint 2.5.1

Compare
Choose a tag to compare
@valueof valueof released this 16 May 04:24
· 1056 commits to main since this release

This is mostly a bug fix release.

One new feature: you can now override any or all globals values by explicitly specifying them in the extending configuration. Examples:

./.jshintrc

{
  "undef": true
}

./test/.jshintrc

{
  "extends": "../.jshintrc",
  "globals": {
    "suite": true,
    "test": true,
    "setup": true,
    "teardown": true,
    "assert": true
   }
}

./test/client/.jshintrc

{
  "extends": "../.jshintrc",
  "browser": true,
  "globals": {
    "define": true
  }
}

./test/server/.jshintrc

{
  "extends": "../.jshintrc",
  "node": true
}