-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
45 lines (45 loc) · 920 Bytes
/
.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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true,
"worker": true
},
"globals": {
"app": true,
"ctx": true,
"lt": true,
"chai": true,
"sinon": true,
"assert": true,
"mockery": true,
"mocks": true,
"request": true,
"expect": true,
"helpers": true
},
"extends": "airbnb",
"rules": {
"quotes": [2, "single"],
"max-len": [2, {"code": 120, "tabWidth": 2}],
"handle-callback-err": 2,
"prefer-rest-params": 0,
"no-trailing-spaces": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"arrow-body-style": 0,
"prefer-const": 0,
"padded-blocks": 0,
"no-shadow": 0,
"no-return-assign": 0,
"prefer-template": 0,
"comma-dangle": 0,
"consistent-return": 0,
"no-param-reassign": 0,
"func-names": 0
}
}