-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.json
72 lines (72 loc) · 2.32 KB
/
.eslintrc.json
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
71
72
{
"root": true,
"parser": "babel-eslint",
"plugins": ["mocha"],
"env": {
"es6": true,
"amd": true,
"browser": true,
"mocha": true,
"node": true
},
"rules": {
"block-scoped-var": 2,
"camelcase": [ 2, { "properties": "never" } ],
"comma-dangle": 0,
"comma-style": [ 2, "last" ],
"consistent-return": 0,
"curly": [ 2, "multi-line" ],
"dot-location": [ 2, "property" ],
"dot-notation": [ 2, { "allowKeywords": true } ],
"eqeqeq": [ 2, "allow-null" ],
"guard-for-in": 2,
"indent": [ 2, 2, { "SwitchCase": 1 } ],
"key-spacing": [ 0, { "align": "value" } ],
"max-len": [ 2, 140, 2, { "ignoreComments": true, "ignoreUrls": true } ],
"new-cap": [ 2, { "capIsNewExceptions": [ "Private" ] } ],
"no-bitwise": 0,
"no-caller": 2,
"no-cond-assign": 0,
"no-debugger": 2,
"no-empty": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-parens": 0,
"no-irregular-whitespace": 2,
"no-iterator": 2,
"no-loop-func": 2,
"no-multi-spaces": 0,
"no-multi-str": 2,
"no-nested-ternary": 2,
"no-new": 0,
"no-path-concat": 0,
"no-proto": 2,
"no-return-assign": 0,
"no-script-url": 2,
"no-sequences": 2,
"no-shadow": 0,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-unused-vars": 0,
"no-use-before-define": [ 2, "nofunc" ],
"no-with": 2,
"one-var": [ 2, "never" ],
"quotes": [ 2, "single" ],
"semi-spacing": [ 2, { "before": false, "after": true } ],
"semi": [ 2, "always" ],
"keyword-spacing": [ 2, { "before": true, "after": true } ],
"space-before-blocks": [ 2, "always" ],
"space-before-function-paren": [ 2, { "anonymous": "always", "named": "never" } ],
"space-in-parens": [ 2, "never" ],
"space-infix-ops": [ 2, { "int32Hint": false } ],
"space-unary-ops": [ 2 ],
"strict": [ 2, "never" ],
"valid-typeof": 2,
"wrap-iife": [ 2, "outside" ],
"yoda": 0,
"mocha/no-exclusive-tests": 2,
"mocha/handle-done-callback": 2
}
}