-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
44 lines (44 loc) · 1.11 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"allowImportExportEverywhere": false
},
"extends": ["plugin:flowtype/recommended", "airbnb-base"],
"env": {
"browser": true,
"node": true
},
"rules": {
"arrow-parens": ["off"],
"consistent-return": "off",
"import/extensions": "off",
"import/no-cycle": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"no-console": "off",
"no-multi-assign": "off",
"promise/param-names": "error",
"promise/always-return": "off",
"promise/catch-or-return": "error",
"promise/no-native": "off",
"no-await-in-loop": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"no-unused-expressions": "off",
"no-restricted-syntax": "off",
"class-methods-use-this": "off",
"no-param-reassign": "off",
"max-len": [
"error",
{
"code": 115,
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}
]
},
"plugins": ["flowtype", "promise"]
}