-
Notifications
You must be signed in to change notification settings - Fork 9
/
.jshintrc
45 lines (45 loc) · 1 KB
/
.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
{
// http://www.jshint.com/docs/options/
//
// == Enforcing options ==
"bitwise": true,
// "camelcase": true,
"curly": true,
"eqeqeq": true,
"es3": true,
"forin": true,
"freeze": true,
"immed": true,
// "indent": 2,
//Does not work!
// - Problem with switch case indentation (use the style of the first token found, but could be in node_modules files in Intellij (does not happen with command line)
// - Problem with indentation of angular routes declaration
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"plusplus": true,
"quotmark": "single",
"undef": true,
"unused": "vars",
"strict": true,
"trailing": true,
// == Relaxing options ==
"sub": false,
"esnext": false,
// == Environments ==
"browser": true,
"node": true,
// == Global Variables ==
"globals": {
"angular": false,
"njEvents": false,
"njSpeakers": false,
"njPlaces": false,
"nj": false,
"_": false,
"$": false,
"DepartureBoard": false
}
}