mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Used the deploy_xplat.sh script. There were a few errors after running the script, so I reverted the changes to those files and the errors went away. This is expected because the new version does not introduce errors, so these errors were caused by the deploy script. Changelog: [Internal] Reviewed By: samwgoldman Differential Revision: D20070916 fbshipit-source-id: 56b8f56eab952010f44219ce1b5c4ec66a0b084a
89 lines
2.1 KiB
Plaintext
89 lines
2.1 KiB
Plaintext
[ignore]
|
|
; We fork some components by platform
|
|
.*/*[.]ios.js
|
|
|
|
; Ignore templates for 'react-native init'
|
|
<PROJECT_ROOT>/template/.*
|
|
|
|
; Ignore the Dangerfile
|
|
<PROJECT_ROOT>/bots/dangerfile.js
|
|
|
|
; Ignore "BUCK" generated dirs
|
|
<PROJECT_ROOT>/\.buckd/
|
|
|
|
; These should not be required directly
|
|
; require from fbjs/lib instead: require('fbjs/lib/warning')
|
|
.*/node_modules/warning/.*
|
|
|
|
; Flow doesn't support platforms
|
|
.*/Libraries/Utilities/LoadingView.js
|
|
|
|
[untyped]
|
|
.*/node_modules/@react-native-community/cli/.*/.*
|
|
|
|
[include]
|
|
|
|
[declarations]
|
|
.*/node_modules/.*
|
|
|
|
[libs]
|
|
interface.js
|
|
flow/
|
|
|
|
[options]
|
|
emoji=true
|
|
|
|
esproposal.optional_chaining=enable
|
|
esproposal.nullish_coalescing=enable
|
|
|
|
exact_by_default=true
|
|
|
|
module.file_ext=.js
|
|
module.file_ext=.json
|
|
module.file_ext=.android.js
|
|
|
|
munge_underscores=true
|
|
|
|
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/index.js'
|
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
|
|
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>/Libraries/Image/RelativeImageStub'
|
|
|
|
suppress_type=$FlowIssue
|
|
suppress_type=$FlowFixMe
|
|
suppress_type=$FlowFixMeProps
|
|
suppress_type=$FlowFixMeState
|
|
suppress_type=$FlowFixMeEmpty
|
|
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_android\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_android\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
|
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
|
|
|
experimental.well_formed_exports=true
|
|
experimental.types_first=true
|
|
experimental.abstract_locations=true
|
|
|
|
[lints]
|
|
sketchy-null-number=warn
|
|
sketchy-null-mixed=warn
|
|
sketchy-number=warn
|
|
untyped-type-import=warn
|
|
nonstrict-import=warn
|
|
deprecated-type=warn
|
|
unsafe-getters-setters=warn
|
|
unnecessary-invariant=warn
|
|
signature-verification-failure=warn
|
|
deprecated-utility=error
|
|
unsafe-addition=error
|
|
|
|
[strict]
|
|
deprecated-type
|
|
nonstrict-import
|
|
sketchy-null
|
|
unclear-type
|
|
unsafe-getters-setters
|
|
untyped-import
|
|
untyped-type-import
|
|
|
|
[version]
|
|
^0.119.0
|