-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
21 lines (18 loc) · 992 Bytes
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
// 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
"maxlen" : 90, // Set Maximum length of characters to 90
"quotmark" : "single", // Prefer single quotes
"camelcase" : true // Use CAMEL Casing for variables
}