| 0 | 1 { | 
|  | 2     // Settings | 
|  | 3     "passfail"      : false,  // Stop on first error. | 
|  | 4     "maxerr"        : 100,    // Maximum error before stopping. | 
|  | 5 | 
|  | 6 | 
|  | 7     // Predefined globals whom JSHint will ignore. | 
|  | 8     "browser"       : true,   // Standard browser globals e.g. `window`, `document`. | 
|  | 9 | 
|  | 10     "node"          : false, | 
|  | 11     "rhino"         : false, | 
|  | 12     "couch"         : false, | 
|  | 13     "wsh"           : true,   // Windows Scripting Host. | 
|  | 14 | 
|  | 15     "jquery"        : true, | 
|  | 16     "prototypejs"   : false, | 
|  | 17     "mootools"      : false, | 
|  | 18     "dojo"          : false, | 
|  | 19 | 
|  | 20     "predef"        : [  // Custom globals. | 
|  | 21         //"exampleVar", | 
|  | 22         //"anotherCoolGlobal", | 
|  | 23         //"iLoveDouglas" | 
|  | 24     ], | 
|  | 25 | 
|  | 26 | 
|  | 27     // Development. | 
|  | 28     "debug"         : false,  // Allow debugger statements e.g. browser breakpoints. | 
|  | 29     "devel"         : true,   // Allow developments statements e.g. `console.log();`. | 
|  | 30 | 
|  | 31 | 
|  | 32     // ECMAScript 5. | 
|  | 33     "es5"           : true,   // Allow ECMAScript 5 syntax. | 
|  | 34     "strict"        : false,  // Require `use strict` pragma  in every file. | 
|  | 35     "globalstrict"  : false,  // Allow global "use strict" (also enables 'strict'). | 
|  | 36 | 
|  | 37 | 
|  | 38     // The Good Parts. | 
|  | 39     "asi"           : false,  // Tolerate Automatic Semicolon Insertion (no semicolons). | 
|  | 40     "laxbreak"      : true,   // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons. | 
|  | 41     "bitwise"       : true,   // Prohibit bitwise operators (&, |, ^, etc.). | 
|  | 42     "boss"          : false,  // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments. | 
|  | 43     "curly"         : true,   // Require {} for every new block or scope. | 
|  | 44     "eqeqeq"        : false,   // Require triple equals i.e. `===`. | 
|  | 45     "eqnull"        : false,  // Tolerate use of `== null`. | 
|  | 46     "evil"          : false,  // Tolerate use of `eval`. | 
|  | 47     "expr"          : false,  // Tolerate `ExpressionStatement` as Programs. | 
|  | 48     "forin"         : false,  // Tolerate `for in` loops without `hasOwnPrototype`. | 
|  | 49     "immed"         : true,   // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` | 
|  | 50     "latedef"       : true,   // Prohipit variable use before definition. | 
|  | 51     "loopfunc"      : false,  // Allow functions to be defined within loops. | 
|  | 52     "noarg"         : true,   // Prohibit use of `arguments.caller` and `arguments.callee`. | 
|  | 53     "regexp"        : false,   // Prohibit `.` and `[^...]` in regular expressions. | 
|  | 54     "regexdash"     : false,  // Tolerate unescaped last dash i.e. `[-...]`. | 
|  | 55     "scripturl"     : true,   // Tolerate script-targeted URLs. | 
|  | 56     "shadow"        : false,  // Allows re-define variables later in code e.g. `var x=1; x=2;`. | 
|  | 57     "supernew"      : false,  // Tolerate `new function () { ... };` and `new Object;`. | 
|  | 58     "undef"         : true,   // Require all non-global variables be declared before they are used. | 
|  | 59 | 
|  | 60 | 
|  | 61     // Personal styling preferences. | 
|  | 62     "newcap"        : true,   // Require capitalization of all constructor functions e.g. `new F()`. | 
|  | 63     "noempty"       : true,   // Prohibit use of empty blocks. | 
|  | 64     "nonew"         : true,   // Prohibit use of constructors for side-effects. | 
|  | 65     "nomen"         : false,  // Prohibit use of initial or trailing underbars in names. | 
|  | 66     "onevar"        : false,  // Allow only one `var` statement per function. | 
|  | 67     "plusplus"      : false,  // Prohibit use of `++` & `--`. | 
|  | 68     "sub"           : false,  // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`. | 
|  | 69     "trailing"      : true,   // Prohibit trailing whitespaces. | 
|  | 70     "white"         : false,   // Check against strict whitespace and indentation rules. | 
|  | 71     "indent"        : 4       // Specify indentation spacing | 
|  | 72 } |