-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
56 lines (45 loc) · 1018 Bytes
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
/*
* ENVIRONMENTS
* =================
*/
"browser": true,
"node": true,
"jquery": true,
"esnext": true,
/*
* ENFORCING OPTIONS
* =================
*/
// Force all variable names to use either camelCase or UPPER_CASE.
/* "camelcase": true, */
// Prohibit use of == in favor of ===.
"eqeqeq": true,
// Enforce tab width of 2 spaces.
"indent": 2,
// Prohibt the use of explicitly undeclared variables.
"undef": true,
// Warn when variables are defined but not used.
"unused": true,
// Enforce use of single quotes.
/* "quotmark": "single", */
// Enforce placing 'use strict' at the top of the function scope.
"strict": true,
// Suppress warnings about == null comparisions.
"eqnull": true,
// Suppress warning on expressions
"expr": true,
// Some stuff that should be defined as global.
"predef": [
"App",
"Em",
"describe",
"it",
"before",
"beforeEach",
"after",
"afterEach",
"angular",
"d3"
]
}