forked from NewSpring/Rock-Native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flowconfig
59 lines (45 loc) · 1.66 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
[include]
[ignore]
# We fork some components by platform. This gives duplicate provider
# errors if we don't ignore. From base react-native .flowconfig
.*/*[.]android.js
# Additional libraries we need to ignore because of flow errors in
# the libraries.
.*/node_modules/animated/.*
.*/node_modules/react-native-web/.*
.*/node_modules/react-native-windows/.*
.*/node_modules/flow-coverage-report/.*
# Directories to ignore.
.*/__tests__/.*
.*/\.git/.*
.*/\.travis/.*
.*/dangerfile.js
web/
[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow-typed/
[options]
module.system=haste
# prefer native files over web for type checking
# https://github.com/facebook/flow/issues/945
module.file_ext=.native.js
module.file_ext=.ios.js
module.file_ext=.web.js
module.file_ext=.browser.js
module.file_ext=.js
module.file_ext=.jsx
emoji=true
munge_underscores=true
experimental.strict_type_args=false
module.name_mapper='^\/\(.*\)$' -> '<PROJECT_ROOT>/\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\)$' -> 'RelativeImageStub'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowIgnore
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore
unsafe.enable_getters_and_setters=true
[version]
^0.38.0