55; Ignore "BUCK" generated dirs
66<PROJECT_ROOT>/\.buckd/
77
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-
168; Ignore polyfills
179node_modules/react-native/Libraries/polyfills/.*
1810
@@ -21,11 +13,10 @@ node_modules/react-native/Libraries/polyfills/.*
2113node_modules/warning/.*
2214
2315; Flow doesn't support platforms
24- .*/Libraries/Utilities/HMRLoadingView .js
16+ .*/Libraries/Utilities/LoadingView .js
2517
2618[untyped]
2719.*/node_modules/@react-native-community/cli/.*/.*
28- .*/node_modules/react-native/Libraries/Lists/SectionList.js
2920
3021[include]
3122
@@ -44,27 +35,11 @@ module.file_ext=.js
4435module.file_ext=.json
4536module.file_ext=.ios.js
4637
47- module.system=haste
48- module.system.haste.use_name_reducers=true
49- # get basename
50- module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
51- # strip .js or .js.flow suffix
52- module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
53- # strip .ios suffix
54- module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
55- module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
56- module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
57- module.system.haste.paths.blacklist=.*/__tests__/.*
58- module.system.haste.paths.blacklist=.*/__mocks__/.*
59- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
60- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
61- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/IntegrationTests/.*
62- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation.js
63- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
64-
6538munge_underscores=true
6639
67- 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'
40+ module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
41+ module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
42+ 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'
6843
6944suppress_type=$FlowIssue
7045suppress_type=$FlowFixMe
0 commit comments