2017-02-14 16:02:54 +00:00
|
|
|
[ignore]
|
2017-12-04 12:07:41 +00:00
|
|
|
; We fork some components by platform
|
|
|
|
.*/*[.]android.js
|
2017-02-14 16:02:54 +00:00
|
|
|
|
2017-12-04 12:07:41 +00:00
|
|
|
; Ignore "BUCK" generated dirs
|
|
|
|
.*/node_modules/react-native/\.buckd/
|
2017-02-14 16:02:54 +00:00
|
|
|
|
2017-12-04 12:07:41 +00:00
|
|
|
; Ignore unexpected extra "@providesModule"
|
|
|
|
.*/node_modules/.*/node_modules/fbjs/.*
|
2017-02-14 16:02:54 +00:00
|
|
|
|
2017-12-04 12:07:41 +00:00
|
|
|
; 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/.*
|
2017-02-14 16:02:54 +00:00
|
|
|
|
|
|
|
# React Native problems
|
2017-12-04 12:07:41 +00:00
|
|
|
.*/node_modules/metro-bundler/src/DeltaBundler/DeltaCalculator.js.flow
|
|
|
|
.*/node_modules/metro-bundler/src/DeltaBundler/DeltaPatcher.js.flow
|
|
|
|
.*/node_modules/metro-bundler/src/node-haste/AssetResolutionCache.js.flow
|
|
|
|
.*/node_modules/metro-bundler/src/node-haste/DependencyGraph.js.flow
|
|
|
|
#.*/node_modules/react-native/Libraries/Animated/src/nodes/AnimatedStyle.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewStickyHeader.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Experimental/SwipeableRow/SwipeableFlatList.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Experimental/SwipeableRow/SwipeableListView.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Image/ImageBackground.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Lists/FlatList.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Lists/MetroListView.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Lists/SectionList.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Lists/ViewabilityHelper.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Lists/VirtualizedList.js
|
|
|
|
#.*/node_modules/react-native/Libraries/Lists/VirtualizedSectionList.js
|
2017-02-14 16:02:54 +00:00
|
|
|
|
2017-11-17 16:17:27 +00:00
|
|
|
# Ignore dist folder
|
|
|
|
.*/dist/.*
|
|
|
|
|
2017-11-28 14:19:49 +00:00
|
|
|
# Ignore tests project
|
|
|
|
.*/tests/.*
|
|
|
|
|
2017-02-14 16:02:54 +00:00
|
|
|
[include]
|
|
|
|
|
|
|
|
[libs]
|
|
|
|
node_modules/react-native/Libraries/react-native/react-native-interface.js
|
2017-12-04 12:07:41 +00:00
|
|
|
node_modules/react-native/flow/
|
2017-02-14 16:02:54 +00:00
|
|
|
|
|
|
|
[options]
|
|
|
|
module.system=haste
|
|
|
|
|
2017-12-04 12:07:41 +00:00
|
|
|
emoji=true
|
2017-02-14 16:02:54 +00:00
|
|
|
|
2018-01-05 17:20:02 +00:00
|
|
|
munge_underscores=true
|
2017-02-14 16:02:54 +00:00
|
|
|
|
|
|
|
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'
|
|
|
|
|
2017-12-04 12:07:41 +00:00
|
|
|
module.file_ext=.js
|
|
|
|
module.file_ext=.jsx
|
|
|
|
module.file_ext=.json
|
|
|
|
module.file_ext=.native.js
|
|
|
|
|
2017-02-14 16:02:54 +00:00
|
|
|
suppress_type=$FlowIssue
|
|
|
|
suppress_type=$FlowFixMe
|
2017-12-04 12:07:41 +00:00
|
|
|
suppress_type=$FlowFixMeProps
|
|
|
|
suppress_type=$FlowFixMeState
|
2017-02-14 16:02:54 +00:00
|
|
|
suppress_type=$FixMe
|
|
|
|
|
2017-12-04 12:07:41 +00:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
2017-02-14 16:02:54 +00:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
2017-12-04 12:07:41 +00:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
2018-01-05 17:20:02 +00:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowBug.*
|
2017-12-04 12:07:41 +00:00
|
|
|
|
|
|
|
unsafe.enable_getters_and_setters=true
|
2017-04-04 10:55:50 +00:00
|
|
|
|
|
|
|
[version]
|
2017-11-17 11:07:52 +00:00
|
|
|
^0.56.0
|