mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-21 10:34:39 +08:00
> You can [learn more about this here](https://blog.invertase.io/react-native-firebase-2019-7e334ca9bcc6).
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
[ignore]
|
||
; Ignore metro
|
||
.*/node_modules/metro/.*
|
||
|
||
# Ignore tests project
|
||
.*/tests/.*
|
||
|
||
[include]
|
||
packages/**/lib/*.js.flow
|
||
packages/*-types/*.js.flow
|
||
|
||
[lints]
|
||
|
||
[options]
|
||
emoji=true
|
||
esproposal.optional_chaining=enable
|
||
esproposal.nullish_coalescing=enable
|
||
|
||
module.system=haste
|
||
module.system.haste.use_name_reducers=true
|
||
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
|
||
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\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/.*
|
||
|
||
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'
|
||
|
||
module.file_ext=.js
|
||
|
||
suppress_type=$FlowIssue
|
||
suppress_type=$FlowFixMe
|
||
suppress_type=$FlowFixMeProps
|
||
suppress_type=$FlowFixMeState
|
||
|
||
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]+
|
||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||
|
||
[version]
|
||
^0.89.0
|