bjork24/tate

View on GitHub
.jshintrc

Summary

Maintainability
Test Coverage
{
  "maxerr"    : 50,         // {int} Maximum error before stopping
  "camelcase" : true,       // true: Identifiers must be in camelCase
  "curly"     : true,       // true: Require {} for every new block or scope
  "eqeqeq"    : true,       // true: Require triple equals (===) for comparison
  "freeze"    : true,       // true: prohibits overwriting prototypes of native objects such as Array, Date etc.
  "immed"     : false,      // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
  "indent"    : 2,          // {int} Number of spaces to use for indentation
  "noempty"   : true,       // true: Prohibit use of empty blocks
  "quotmark"  : "single",   // Quotation mark consistency
  "undef"     : true,       // true: Require all non-global variables to be declared (prevents global leaks)
  "strict"    : true,       // true: Requires all functions run in ES5 Strict Mode
  "node"      : true,       // Node.js
  "globals"   : {}          // additional predefined global variables
}