Matteo Scandolo | 46b5610 | 2015-12-16 14:23:08 -0800 | [diff] [blame] | 1 | { |
| 2 | // Predefined globals |
| 3 | "browser" : true, // Standard browser globals |
| 4 | |
| 5 | // Development |
| 6 | "debug" : false, // Allow debugger statements e.g. browser breakpoints. |
| 7 | "devel" : true, // Allow development statements e.g. `console.log();`. |
| 8 | |
| 9 | // The Good Parts |
| 10 | "evil" : false, // Tolerate use of `eval`. |
| 11 | "regexdash" : true, // Tolerate unescaped last dash i.e. `[-...]`. |
| 12 | "trailing" : true, // Prohibit trailing whitespaces. |
| 13 | "sub" : true, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`. |
| 14 | "eqeqeq" : false, // Require triple equals i.e. `===`. |
| 15 | |
| 16 | // Styling preferences. |
| 17 | "indent" : 4, // Indent level |
| 18 | "camelcase" : true // Use CAMEL Casing for variables |
| 19 | } |