This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
/
.eslintrc
84 lines (84 loc) · 1.68 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"env": {
"jest": true
},
"globals": {
"__DEV__": true,
"lumo": true
},
"plugins": [
"flowtype",
"import",
"babel"
],
"rules": {
"indent": 0,
"function-paren-newline": 0,
"keyword-spacing": [
2,
{
"before": true,
"after": true
}
],
"linebreak-style": 0,
"no-cond-assign": [
2,
"except-parens"
],
"no-restricted-syntax": 0,
"no-underscore-dangle": 0,
"no-unused-vars": [
"error",
{
"args": "none"
}
],
"object-curly-newline": 0,
"babel/array-bracket-spacing": 2,
"implicit-arrow-linebreak": 0,
"operator-linebreak": 0,
"import/no-cycle": 0,
"import/no-duplicates": 2,
"import/no-extraneous-dependencies": 0,
"flowtype/boolean-style": 2,
"flowtype/define-flow-type": 2,
"flowtype/delimiter-dangle": [
2,
"always-multiline"
],
"flowtype/require-valid-file-annotation": 2,
"flowtype/space-after-type-colon": 2,
"flowtype/space-before-type-colon": [
2,
"never"
],
"flowtype/space-before-generic-bracket": [
2,
"never"
],
"flowtype/union-intersection-spacing": [
2,
"always"
],
"flowtype/generic-spacing": 2,
"flowtype/require-parameter-type": 2,
"flowtype/use-flow-type": 2,
"flowtype/valid-syntax": 2,
"flowtype/no-dupe-keys": 2,
"flowtype/object-type-delimiter": 2,
"flowtype/require-return-type": [
2,
"always",
{
"annotateUndefined": "always",
"excludeArrowFunctions": true
}
],
"flowtype/semi": 2
}
}