.jshintrc boilerplate example

・0 min read

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
  }
}

Subscribe

Receive updates on new posts.