-
Notifications
You must be signed in to change notification settings - Fork 7
/
.flowconfig
80 lines (61 loc) · 1.88 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
[ignore]
; We fork some components by platform
.*/*[.]android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*
; Ignore Electron packager
.*/node_modules/electron-packager/.*
; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js
; Ignore next due to: https://github.com/browserify/resolve/issues/262
.*/node_modules/resolve/.*
[untyped]
.*/lib/commonjs/.*
.*/lib/module/.*
.*/node_modules/@react-native-community/cli/.*/.*
; TODO: migrate the following packages on TS or remove as the current flow annotation is not actual; TODO: migrate the following packages on TS or remove as the current flow annotation is not actual
.*/packages/core/.*
.*/packages/components/.*
[include]
[libs]
./peerTypes
node_modules/react-native/interface.js
node_modules/react-native/flow/
[options]
emoji=true
sharedmemory.hash_table_pow=21
exact_by_default=true
format.bracket_spacing=false
module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js
module.file_ext=.native.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
[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
unnecessary-invariant=warn
signature-verification-failure=warn
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
^0.162.0