| { |
| // Predefined globals |
| "browser" : true, // Standard browser globals |
| |
| // Development |
| "debug" : false, // Allow debugger statements e.g. browser breakpoints. |
| "devel" : true, // Allow development statements e.g. `console.log();`. |
| |
| // The Good Parts |
| "evil" : false, // Tolerate use of `eval`. |
| "regexdash" : true, // Tolerate unescaped last dash i.e. `[-...]`. |
| "trailing" : true, // Prohibit trailing whitespaces. |
| "sub" : true, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`. |
| "eqeqeq" : false, // Require triple equals i.e. `===`. |
| |
| // Styling preferences. |
| "indent" : 4, // Indent level |
| "camelcase" : true // Use CAMEL Casing for variables |
| } |