forked from trangmaiq/golden-wallet-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
72 lines (72 loc) · 1.45 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
{
"parser": "babel-eslint",
"plugins": [
"react",
"react-native"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"airbnb-standard"
],
"rules": {
"arrow-body-style": "warn",
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 0,
"react-native/no-inline-styles": 0,
"react-native/no-color-literals": 0,
"semi": [
2,
"never"
],
"class-methods-use-this": 0,
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/prefer-stateless-function": [
0,
{
"ignorePureComponents": 1
}
],
"react/forbid-prop-types": 0,
"no-underscore-dangle": 0,
"no-restricted-properties": 0,
"no-plusplus": 0,
"no-alert": 0,
"max-len": 0,
"global-require": 0,
"react/jsx-no-bind": 0,
"react/prefer-es6-class": 0,
"react/react-in-jsx-scope": 0,
"space-before-function-paren": 0,
"linebreak-style": 0,
"react/jsx-quotes": 0,
"react/no-array-index-key": 0,
"react/jsx-boolean-value": 0,
"no-nested-ternary": 0,
"func-names": 0,
"no-await-in-loop": 0,
"jsx-quotes": [
2,
"prefer-double"
],
"eqeqeq": 0,
"no-return-await": 0,
"camelcase": 0
},
"env": {
"react-native/react-native": true
}
}