mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
73eb6c2481
Summary:
Metro Bundler ships with `react_native_fb` flow annotations whereas our repo is set to ignore `react_native_oss` flow issues.
For now, a hot fix is to make our repo ignore both.
Detailed discussion happens here: 87cfc05ea6 (commitcomment-24884835)
Those changes have been applied to `0.50.0-rc.0` in order to make it green.
Closes https://github.com/facebook/react-native/pull/16310
Differential Revision: D6031378
Pulled By: hramos
fbshipit-source-id: 491d866bb35bd6c30a27dbc04586b15144a8efb2
58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
[ignore]
|
|
; We fork some components by platform
|
|
.*/*[.]android.js
|
|
|
|
; Ignore templates for 'react-native init'
|
|
.*/local-cli/templates/.*
|
|
|
|
; Ignore the website subdir
|
|
<PROJECT_ROOT>/website/.*
|
|
|
|
; Ignore the Dangerfile
|
|
<PROJECT_ROOT>/danger/dangerfile.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
|
|
|
|
; Ignore polyfills
|
|
.*/Libraries/polyfills/.*
|
|
|
|
[include]
|
|
|
|
[libs]
|
|
Libraries/react-native/react-native-interface.js
|
|
flow/
|
|
|
|
[options]
|
|
emoji=true
|
|
|
|
module.system=haste
|
|
|
|
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'
|
|
|
|
suppress_type=$FlowIssue
|
|
suppress_type=$FlowFixMe
|
|
suppress_type=$FlowFixMeProps
|
|
suppress_type=$FlowFixMeState
|
|
suppress_type=$FixMe
|
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*[react_native_oss|react_native_fb][a-z,_]*\\)?)\\)?:? #[0-9]+
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
|
|
|
unsafe.enable_getters_and_setters=true
|
|
|
|
[version]
|
|
^0.56.0
|