-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.jshintrc
70 lines (70 loc) · 1.33 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
// http://jshint.com/docs/options/
// in flavor of emberjs jshint standard
"esnext": true,
"node": true,
"browser": true,
"boss": true,
"curly": true,
"debug": false,
"devel": true,
"eqeqeq": true,
"evil": true,
"forin": false,
"immed": true,
// suppresses most of the warnings about possibly unsafe line breakings
"laxbreak": false,
"newcap": true,
"noarg": true,
"noempty": false,
"nonew": false,
"nomen": false,
"onevar": false,
"plusplus": false,
"regexp": false,
"undef": true,
"sub": true,
"strict": false,
"white": false,
"eqnull": true,
"trailing": true,
"unused": "vars",
// my custom prefer flavor
"bitwise": true,
"camelcase": false,
"indent": 2,
"smarttabs": true,
"maxdepth": 4,
"maxlen": 100,
"expr": true,
// suppresses warnings about comma-first coding style
"laxcomma": true,
"predef": [
"-Promise",
"document",
"window",
"console",
"define",
"require",
// mocha test framework globals
"describe",
"it",
"before",
"after",
"beforeEach",
"afterEach",
// ember testing globals
"visit",
"andThen",
"find",
"fillIn",
"click",
"currentPath",
"currentRouteName",
"currentURL",
// ember-mocha module
"describeModule",
"describeModel",
"describeComponent"
]
}