forked from satya164/react-navigation-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
125 lines (114 loc) · 3.37 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"prettier"
],
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"plugins": [
"babel",
"flowtype",
"import",
"react",
"react-native",
"prettier",
],
"rules": {
"prettier/prettier": [1, {"trailingComma": "all", "singleQuote": true}],
"babel/new-cap": 0,
"babel/object-curly-spacing": 0,
"babel/arrow-parens": 0,
"babel/no-await-in-loop": 2,
"flowtype/boolean-style": [2, "boolean"],
"flowtype/define-flow-type": 2,
"flowtype/delimiter-dangle": [2, "always-multiline"],
"flowtype/generic-spacing": 0,
"flowtype/no-dupe-keys": 2,
"flowtype/no-primitive-constructor-types": 2,
"flowtype/no-weak-types": 0,
"flowtype/object-type-delimiter": [2, "comma"],
"flowtype/require-parameter-type": 0,
"flowtype/require-return-type": 0,
"flowtype/require-valid-file-annotation": 2,
"flowtype/require-variable-type": 0,
"flowtype/semi": 0,
"flowtype/sort-keys": 0,
"flowtype/space-after-type-colon": [2, "always"],
"flowtype/space-before-generic-bracket": [2, "never"],
"flowtype/space-before-type-colon": [2, "never"],
"flowtype/type-id-match": 0,
"flowtype/union-intersection-spacing": [2, "always"],
"flowtype/use-flow-type": 2,
"flowtype/valid-syntax": 2,
"import/no-unresolved": 2,
"import/named": 2,
"import/default": 0,
"import/namespace": 0,
"import/export": 2,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/no-deprecated": 0,
"import/no-extraneous-dependencies": 0,
"import/no-commonjs": 2,
"import/no-amd": 2,
"import/no-nodejs-modules": 0,
"import/imports-first": 2,
"import/no-duplicates": 2,
"import/no-namespace": 0,
"import/extensions": [2, { "js": "never", "json": "always" }],
"import/order": 0,
"react/display-name": 0,
"react/forbid-prop-types": 0,
"react/no-danger": 2,
"react/no-deprecated": 2,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-direct-mutation-state": 2,
"react/no-is-mounted": 2,
"react/no-multi-comp": 0,
"react/no-set-state": 0,
"react/no-string-refs": 2,
"react/no-unknown-property": 2,
"react/prefer-es6-class": 2,
"react/prop-types": 0,
"react/react-in-jsx-scope": 2,
"react/require-render-return": 2,
"react/self-closing-comp": 2,
"react/sort-comp": 2,
"react/sort-prop-types": 0,
"react/jsx-boolean-value": [2, "never"],
"react/jsx-closing-bracket-location": 2,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-equals-spacing": 2,
"react/jsx-first-prop-new-line": [2, "multiline"],
"react/jsx-handler-names": 0,
"react/jsx-indent-props": 0,
"react/jsx-key": 2,
"react/jsx-max-props-per-line": 0,
"react/jsx-no-bind": 0,
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-literals": 0,
"react/jsx-no-undef": 2,
"react/jsx-pascal-case": 2,
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/jsx-wrap-multilines": 2,
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2,
}
}