5
5
; Ignore "BUCK" generated dirs
6
6
<PROJECT_ROOT>/\.buckd/
7
7
8
- ; Ignore unexpected extra "@providesModule"
9
- .*/node_modules/.*/node_modules/fbjs/.*
10
-
11
- ; Ignore duplicate module providers
12
- ; For RN Apps installed via npm, "Libraries" folder is inside
13
- ; "node_modules/react-native" but in the source repo it is in the root
14
- node_modules/react-native/Libraries/react-native/React.js
15
-
16
8
; Ignore polyfills
17
9
node_modules/react-native/Libraries/polyfills/.*
18
10
@@ -21,15 +13,15 @@ node_modules/react-native/Libraries/polyfills/.*
21
13
node_modules/warning/.*
22
14
23
15
; Flow doesn't support platforms
24
- .*/Libraries/Utilities/HMRLoadingView .js
16
+ .*/Libraries/Utilities/LoadingView .js
25
17
26
18
[untyped]
27
19
.*/node_modules/@react-native-community/cli/.*/.*
28
20
29
21
[include]
30
22
31
23
[libs]
32
- node_modules/react-native/Libraries/react-native/react-native- interface.js
24
+ node_modules/react-native/interface.js
33
25
node_modules/react-native/flow/
34
26
35
27
[options]
@@ -42,27 +34,10 @@ module.file_ext=.js
42
34
module.file_ext=.json
43
35
module.file_ext=.ios.js
44
36
45
- module.system=haste
46
- module.system.haste.use_name_reducers=true
47
- # get basename
48
- module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
49
- # strip .js or .js.flow suffix
50
- module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
51
- # strip .ios suffix
52
- module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
53
- module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
54
- module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
55
- module.system.haste.paths.blacklist=.*/__tests__/.*
56
- module.system.haste.paths.blacklist=.*/__mocks__/.*
57
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
58
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
59
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/IntegrationTests/.*
60
- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation.js
61
- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
62
-
63
37
munge_underscores=true
64
38
65
- 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'
39
+ module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
40
+ 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'
66
41
67
42
suppress_type=$FlowIssue
68
43
suppress_type=$FlowFixMe
@@ -81,7 +56,6 @@ untyped-type-import=warn
81
56
nonstrict-import=warn
82
57
deprecated-type=warn
83
58
unsafe-getters-setters=warn
84
- inexact-spread=warn
85
59
unnecessary-invariant=warn
86
60
signature-verification-failure=warn
87
61
deprecated-utility=error
@@ -96,4 +70,4 @@ untyped-import
96
70
untyped-type-import
97
71
98
72
[version]
99
- ^0.98 .0
73
+ ^0.122 .0
0 commit comments