2016-11-19 02:25:02 +00:00
|
|
|
[ignore]
|
|
|
|
; We fork some components by platform
|
|
|
|
.*/*[.]android.js
|
|
|
|
|
|
|
|
; Ignore "BUCK" generated dirs
|
|
|
|
<PROJECT_ROOT>/\.buckd/
|
|
|
|
|
|
|
|
; Ignore unexpected extra "@providesModule"
|
|
|
|
.*/node_modules/.*/node_modules/fbjs/.*
|
|
|
|
|
|
|
|
; 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
|
2017-08-29 11:36:17 +00:00
|
|
|
|
|
|
|
; Ignore polyfills
|
|
|
|
.*/Libraries/polyfills/.*
|
2016-11-19 02:25:02 +00:00
|
|
|
|
2017-12-14 23:14:03 +00:00
|
|
|
; Ignore metro
|
|
|
|
.*/node_modules/metro/.*
|
|
|
|
|
2016-11-19 02:25:02 +00:00
|
|
|
[include]
|
|
|
|
|
|
|
|
[libs]
|
|
|
|
node_modules/react-native/Libraries/react-native/react-native-interface.js
|
2017-08-29 11:36:17 +00:00
|
|
|
node_modules/react-native/flow/
|
2017-12-14 23:14:03 +00:00
|
|
|
node_modules/react-native/flow-github/
|
2016-11-19 02:25:02 +00:00
|
|
|
|
|
|
|
[options]
|
2017-01-19 15:31:08 +00:00
|
|
|
emoji=true
|
|
|
|
|
2018-08-03 23:24:07 +00:00
|
|
|
esproposal.optional_chaining=enable
|
|
|
|
esproposal.nullish_coalescing=enable
|
|
|
|
|
2016-11-19 02:25:02 +00:00
|
|
|
module.system=haste
|
2018-06-18 22:53:57 +00:00
|
|
|
module.system.haste.use_name_reducers=true
|
|
|
|
# get basename
|
|
|
|
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
|
|
|
|
# strip .js or .js.flow suffix
|
|
|
|
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
|
|
|
|
# strip .ios suffix
|
|
|
|
module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
|
|
|
|
module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
|
|
|
|
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
|
|
|
|
module.system.haste.paths.blacklist=.*/__tests__/.*
|
|
|
|
module.system.haste.paths.blacklist=.*/__mocks__/.*
|
|
|
|
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
|
|
|
|
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
|
2016-11-19 02:25:02 +00:00
|
|
|
|
|
|
|
munge_underscores=true
|
|
|
|
|
|
|
|
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-11-30 05:53:45 +00:00
|
|
|
module.file_ext=.js
|
|
|
|
module.file_ext=.jsx
|
|
|
|
module.file_ext=.json
|
|
|
|
module.file_ext=.native.js
|
|
|
|
|
2016-11-19 02:25:02 +00:00
|
|
|
suppress_type=$FlowIssue
|
|
|
|
suppress_type=$FlowFixMe
|
2017-08-29 11:36:17 +00:00
|
|
|
suppress_type=$FlowFixMeProps
|
|
|
|
suppress_type=$FlowFixMeState
|
2016-11-19 02:25:02 +00:00
|
|
|
|
2017-12-04 21:25:03 +00:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
2016-11-19 02:25:02 +00:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
2017-02-23 03:40:41 +00:00
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
2016-11-19 02:25:02 +00:00
|
|
|
|
|
|
|
[version]
|
2018-09-05 15:41:20 +00:00
|
|
|
^0.80.0
|