blob: 75c081f359d22fe14c534a41c1b760ccf3a07de4 [file] [log] [blame]
Matteo Scandolo7cd88ba2015-12-16 14:23:08 -08001{
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}