-
Notifications
You must be signed in to change notification settings - Fork 3
/
.flowconfig
109 lines (85 loc) · 2.94 KB
/
.flowconfig
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
[ignore]
;.*/node_modules/react-native/.* ; This should be removed at some point (ideally)
;node_modules/react-native/.*/.* ; This should be removed at some point (ideally)
; We fork some components by platform
.*/*[.]android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*
; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js
; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
; Ignore polyfills
.*/Libraries/polyfills/.*
; Ignore metro
.*/node_modules/metro/.*
; Custom ignores
.*/node_modules/react-native-keyboard-aware-scroll-view/**/.*
.*/node_modules/react-native-permissions/**/.*
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
.*/node_modules/react-native-image-picker/.*
.*/node_modules/react-native/Libraries/vendor/core/ErrorUtils.js
.*/node_modules/react-native/Libraries/Animated/*
.*/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewNativeComponentType.js
.*/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
.*/node_modules/react-native/Libraries/Lists.FlatList.js
.*/node_modules/react-native/Libraries/Lists/ViewabilityHelper.js
.*/node_modules/react-native/Libraries/ReactNative/PaperUIManager.js
.*/node_modules/react-native/Libraries/Utilities/registerGeneratedViewConfig.js
.*/node_modules/react-native-swiper/index.js.flow
;.*/node_modules/react-native/.*
; Try to remove these later
;.*/Libraries/Animated/.*
;.*/Libraries/Components/.*
[include]
[libs]
node_modules/react-native/interface.js
node_modules/react-native/flow/
flow-typed
[options]
emoji=true
exact_by_default=true
;exact_by_default=true
module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js
munge_underscores=true
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_type=$FlowFixMeEmpty
;experimental.well_formed_exports=true
;experimental.types_first=true
;experimental.abstract_locations=true
esproposal.decorators=ignore
esproposal.export_star_as=enable
[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
sketchy-number=warn
untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
;unsafe-getters-setters=warn
;inexact-spread=warn
unnecessary-invariant=warn
signature-verification-failure=warn
;unsafe-addition=error
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
^0.149.0