forked from pillarwallet/pillarwallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
61 lines (61 loc) · 1.69 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
{
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"plugin:promise/recommended",
"plugin:react-hooks/recommended",
"./.eslintTranslations"
],
"parser": "@babel/eslint-parser",
"plugins": [
"react",
"react-native",
"jest",
"flowtype-errors",
"flowtype",
"promise"
],
"env": {
"node": true,
"es6": true,
"react-native/react-native": true,
"jest/globals": true,
"jest": true
},
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"rules": {
"arrow-body-style": ["off"],
"arrow-parens": ["off"],
"func-names": ["off"],
"object-curly-newline": ["off"],
"flowtype/require-valid-file-annotation": ["error", "always"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"class-methods-use-this": [0],
"react/prop-types": [0],
"react/require-default-props": [0],
"promise/always-return": [0],
"promise/avoid-new": ["off"],
"max-len": ["error", 120, {"ignoreUrls": true}],
"no-use-before-define": "off",
"no-unused-expressions": "off",
"import/no-extraneous-dependencies": ["error", {"packageDir": "./"}],
"import/no-unresolved": ["off"],
"import/extensions": ["off"],
"no-case-declarations": ["off"],
"import/prefer-default-export": ["off"],
"react/no-array-index-key": ["off"],
"react/no-unused-prop-types": ["off"],
"react/sort-comp": ["off"],
"no-underscore-dangle": ["off"],
"no-confusing-arrow": ["off"],
"no-plusplus": ["off"],
"function-paren-newline": [0],
"no-param-reassign": ["off"],
"react/default-props-match-prop-types": ["off"],
"react/no-did-mount-set-state": ["off"]
}
}