-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.eslintrc.json
52 lines (52 loc) · 1.47 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
{
"root": true,
"env": {
"amd": true,
"browser": true,
"mocha": true,
"es6": true,
"jasmine": true,
"node": true
},
"globals": {
"assert": true,
"browser": true,
"expect": true,
"by": true,
"protractor": true,
"sinon": true,
"xdescribe": true,
"xit": true
},
"extends": "airbnb",
"rules": {
"no-tabs": 0,
"no-multi-spaces": 0,
"no-underscore-dangle": [0],
"consistent-return": 0,
"no-use-before-define": 0,
"no-unused-expressions": [2, { "allowShortCircuit": true }],
"no-param-reassign": 0,
"func-names": 0,
"space-before-function-paren": [2, "never"],
"no-shadow": 0,
"guard-for-in": 0,
"no-restricted-syntax": [2, "WithStatement"],
"newline-per-chained-call": [2, { "ignoreChainWithDepth": 5 }],
"space-in-parens": 0,
"key-spacing": 0,
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
"padded-blocks": 0,
"no-console": 1,
"no-continue": 0,
"import/no-extraneous-dependencies": 0,
"import/newline-after-import": 0,
"no-mixed-operators": 0,
"global-require": 0,
"comma-dangle": ["error", "only-multiline"],
"arrow-body-style": ["warn","as-needed"],
"max-len": [2, 220, 2],
"no-debugger": "warn",
"strict": [0, "global"]
}
}