-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
57 lines (54 loc) · 1.38 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
57
{
"env": {
"node": true,
"mocha": true
},
"extends": ["eslint:recommended", "airbnb"],
"rules": {
"no-console": 0,
// airbnb reset
"prefer-template": 0,
"func-names": 0,
"padded-blocks": 0,
"object-shorthand": 0,
"no-unused-expressions": 0,
"newline-per-chained-call": 0,
"arrow-body-style": 0,
"no-param-reassign": 0,
"global-require": 0,
"array-callback-return": 0,
"no-multi-spaces": 0,
"spaced-comment": 0,
"no-shadow": 0,
"no-underscore-dangle": 0,
"camelcase": 0,
"space-in-parens": 0,
"no-restricted-syntax": 0,
"import/no-unresolved": 0, // fails in Travis
"prefer-rest-params": 0, // Not available in node 4.3.2 by default
"no-useless-constructor": 0,
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
"max-len": [2, 256],
"max-depth": [2, 2],
"comma-dangle": [2, "always-multiline"],
"strict": [0, "global"],
"arrow-parens": [0, "as-needed"],
"prefer-const": 2,
"prefer-arrow-callback": 2,
"arrow-spacing": 2,
"no-confusing-arrow": 2,
"consistent-return": 2,
"no-else-return": 2,
"no-lonely-if": 2,
"no-return-assign": 2,
"no-self-compare": 2,
"no-use-before-define": 2,
"no-extend-native": 2,
"guard-for-in": 2,
"no-var": 2,
"radix": 2,
"eol-last": 2,
"no-caller": 2,
"no-bitwise": 2
}
}