-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
57 lines (53 loc) · 1.22 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
{
"extends": [
"airbnb/base",
"plugin:flowtype/recommended",
"plugin:fp/recommended",
"plugin:ava/recommended",
],
"parser": "babel-eslint",
"plugins": [
"flowtype",
"ava",
"fp",
"prefer-object-spread",
"import",
"promise",
],
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true,
},
},
"env": {
"browser": true,
},
"rules": {
"import/extensions": [2, "never"],
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true,
"optionalDependencies": false,
}],
"no-duplicate-imports": [0],
"no-confusing-arrow": 0,
"no-underscore-dangle": 0,
"semi": ["error", "always"],
"new-cap": [2, {"capIsNew": false, "newIsCap": true }],
"arrow-parens": 0,
"comma-dangle": ["error", "always-multiline"],
"operator-linebreak": ["error", "after"],
"fp/no-class": 0,
"fp/no-this": 0,
"fp/no-nil": 0,
"fp/no-mutation": 0,
"fp/no-unused-expression": 0,
"promise/param-names": 2,
"promise/always-return": 2,
"promise/catch-or-return": 2,
"promise/no-native": 0,
"prefer-object-spread/prefer-object-spread": 2,
},
"globals": {
}
}