-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc
48 lines (48 loc) · 977 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
43
44
45
46
47
48
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"extends": "airbnb",
"env": {
"jest": true,
"jasmine": true,
"browser": true,
"node": true
},
"rules": {
"arrow-parens": ["off"],
"compat/compat": "error",
"consistent-return": "off",
"no-restricted-syntax": "off",
"generator-star-spacing": "off",
"no-bitwise": "off",
"import/no-unresolved": "error",
"import/no-extraneous-dependencies": "off",
"no-console": "off",
"promise/param-names": "error",
"promise/no-native": "off",
"flowtype/require-valid-file-annotation": [
2,
"always"
],
"flowtype/space-after-type-colon": [
2,
"always"
],
"flowtype/require-return-type": [
1,
"always",
{
"excludeArrowFunctions": true
}
]
},
"plugins": [
"import",
"compat",
"flowtype",
"promise"
]
}