{ // Enforcing "bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) "curly" : true, // true: Require {} for every new block or scope "eqeqeq" : true, // true: Require triple equals (===) for comparison "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty() "indent" : 2, // {int} Number of spaces to use for indentation "noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee` "noempty" : true, // true: Prohibit use of empty blocks "quotmark" : "single", // Quotation mark consistency: // false : do nothing (default) // true : ensure whatever is used is consistent // "single" : require single quotes // "double" : require double quotes "undef" : true, // true: Require all non-global variables to be declared (prevents global leaks) "unused" : true, // true: Require all defined variables be used "strict" : true, // true: Requires all functions run in ES5 Strict Mode // Environments "browser" : true, // Web Browser (window, document, etc) "node" : true, // Node.js // Custom Globals "globals" : {} // additional predefined global variables }