-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
56 lines (42 loc) · 1.17 KB
/
.eslintrc
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
{
"rules": {
"indent": [2, "tab"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"no-shadow": 1,
"no-unused-vars": 1,
/* We use _method for private methods */
"no-underscore-dangle": 0,
/* eslint expects us to put "use strict" in every function? */
"strict": 0,
/* eslint doesn't like "use strict" because of concatenation issues,
* but it's not a problem with node. */
"global-strict": 0,
/* Don't care whether it's "quote" or 'quote' */
"quotes": 0,
/* We do ,obj in multi-line arrays literals */
"comma-spacing": 0,
/* We have a space before a tab in the first line of a multi-line array literal */
"no-mixed-spaces-and-tabs": 0,
/* Complains about while(true) */
"no-constant-condition": 0,
/* We don't space our multiplications */
"space-infix-ops": 0,
/* It's okay to make functions in a loop if you're using let and const */
"no-loop-func": 0,
/* We sometimes use 'function() { new X() }` in a test to test
* for exceptions thrown in the constructor. */
"no-new": 0
},
"env": {
"es6": true,
"node": true
},
"globals": {
"it": true,
"describe": true,
},
"parserOptions": {
"ecmaVersion": 8
}
}