-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
executable file
·35 lines (34 loc) · 966 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": false,
"node": true,
"es6": true
},
"rules": {
"strict": 0,
"quotes": [2, "single"],
"indent": [2, 4],
"no-else-return": 0,
"new-cap": ["error", {"capIsNewExceptions": ["Router"]}],
"no-console": 0,
"import/no-unresolved": [2, { "commonjs": true, "caseSensitive": false}],
"import/prefer-default-export": 0,
"no-unused-vars": ["error", { "vars": "all", "args": "none" }],
"no-underscore-dangle": 0,
"arrow-body-style": ["error", "always"],
"no-shadow": ["error", { "allow": ["done", "res", "cb", "err", "resolve", "reject"] }],
"no-use-before-define": ["error", { "functions": false }],
"max-len": 0,
"no-param-reassign": 0,
"prefer-destructuring": 0,
"func-names": 0,
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2
},
"plugins": [
"import",
"chai-friendly"
]
}