02 Jun 2015

.jshintrc boilerplate example

A .jshintrc boilerplate example.

.jshintrc

{
  "node": true,
  "browser": true,
  "esnext": true,
  "bitwise": true,
  "camelcase": true,
  "curly": true,
  "eqeqeq": true,
  "immed": true,
  "indent": 4,
  "latedef": true,
  "newcap": true,
  "noarg": true,
  "quotmark": "single",
  "regexp": true,
  "undef": true,
  "unused": true,
  "strict": true,
  "trailing": true,
  "smarttabs": true,
  "jquery": true,
  "globals": {
    "define": true,
    "require": true,
    "module": true,
    "export": true,
    "$": true,
    "_": true
  }
}