mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
* Upgrade to RN0.74 with upgrade helper * Bump minor version * Remove yarn files * RN 0.74.7 * Update .flowconfig * Update Gemfile.lock * Update project.pbxproj * Update PrivacyInfo.xcprivacy * Refactor uri into constant * Only use filename for name Because using the full uri does no longer work like this. * Check for uri being null * Update metro.config.js * Rubocop autocorrect * Update package-lock.json * Update react-native-vision-camera+4.0.5.patch * Update Podfile.lock
92 lines
3.0 KiB
Plaintext
92 lines
3.0 KiB
Plaintext
[ignore]
|
|
; We fork some components by platform
|
|
.*/*[.]android.js
|
|
|
|
; Ignore "BUCK" generated dirs
|
|
<PROJECT_ROOT>/\.buckd/
|
|
|
|
; Ignore polyfills
|
|
node_modules/react-native/Libraries/polyfills/.*
|
|
|
|
; Flow doesn't support platforms
|
|
.*/Libraries/Utilities/LoadingView.js
|
|
|
|
; This is an intentionally malflormed package
|
|
.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$
|
|
|
|
; Ignore these files
|
|
.*/node_modules/react-native/sdks/hermes/external/flowtest/test/flow/comment_interning/program_comment_directive.js
|
|
.*/node_modules/react-native/Libraries/DevToolsSettings/DevToolsSettingsManager.d.ts
|
|
.*/node_modules/react-native/Libraries/Network/RCTNetworking.js.flow
|
|
.*/node_modules/react-native/Libraries/NativeComponent/BaseViewConfig.js.flow
|
|
.*/node_modules/react-native/Libraries/DevToolsSettings/DevToolsSettingsManager.js.flow
|
|
.*/node_modules/metro/node_modules/hermes-estree/dist/generated/predicates.js.flow
|
|
.*/node_modules/metro-babel-transformer/node_modules/hermes-estree/dist/generated/predicates.js.flow
|
|
.*/node_modules/@react-native/dev-middleware/dist/utils/DefaultBrowserLauncher.js.flow
|
|
.*/node_modules/@react-native/community-cli-plugin/dist/commands/start/index.js.flow
|
|
.*/node_modules/@react-native/community-cli-plugin/dist/commands/ram-bundle/index.js.flow
|
|
.*/node_modules/@react-native/community-cli-plugin/dist/commands/bundle/index.js.flow
|
|
.*/node_modules/@react-native/community-cli-plugin/dist/commands/bundle/buildBundle.js.flow
|
|
.*/node_modules/metro/src/lib/JsonReporter.js.flow
|
|
.*/node_modules/hermes-estree/dist/generated/predicates.js.flow
|
|
.*/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes.js
|
|
.*/node_modules/react-native/Libraries/Types/ReactDevToolsTypes.js
|
|
|
|
[untyped]
|
|
.*/node_modules/@react-native-community/cli/.*/.*
|
|
|
|
[include]
|
|
|
|
[libs]
|
|
node_modules/react-native/interface.js
|
|
node_modules/react-native/flow/
|
|
|
|
[options]
|
|
emoji=true
|
|
|
|
exact_by_default=true
|
|
|
|
format.bracket_spacing=false
|
|
|
|
module.file_ext=.js
|
|
module.file_ext=.json
|
|
module.file_ext=.ios.js
|
|
module.file_ext=.ts
|
|
module.file_ext=.tsx
|
|
|
|
munge_underscores=true
|
|
|
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\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>/node_modules/react-native/Libraries/Image/RelativeImageStub'
|
|
|
|
; https://github.com/facebook/flow/issues/4103#issuecomment-565613909
|
|
; this is used to remove flow errors related to babel-plugin-module-resolver
|
|
module.system.node.allow_root_relative=true
|
|
module.system.node.root_relative_dirname=./src
|
|
|
|
suppress_type=$FlowIssue
|
|
suppress_type=$FlowFixMe
|
|
suppress_type=$FlowFixMeProps
|
|
suppress_type=$FlowFixMeState
|
|
|
|
[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
|
|
|
|
[strict]
|
|
deprecated-type
|
|
nonstrict-import
|
|
sketchy-null
|
|
unclear-type
|
|
unsafe-getters-setters
|
|
untyped-import
|
|
untyped-type-import
|
|
|
|
[version]
|
|
^0.182.0 |