-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.eslintrc
42 lines (41 loc) · 936 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
{
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"node": true
},
"extends": ["eslint:recommended", "airbnb"],
"rules": {
"no-console": 0,
// airbnb reset
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": ["**/*Spec.js", "**/gulpfile.js"]
}
],
"prefer-template": 1,
"padded-blocks": 0,
"arrow-body-style": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"import/no-unresolved": 0, // fails in Travis
"arrow-parens": [2, "as-needed"],
"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
}
}