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