Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Update flow
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis committed Dec 1, 2023
1 parent 416d050 commit a648035
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ node_modules/warning/.*
; Flow doesn't support platforms
<PROJECT_ROOT>/node_modules/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.js

.*/resolve/test/resolver/malformed_package_json/package.json
.*/metro/.*
.*/metro-file-map/.*
.*/hermes-parser/.*
.*/hermes-estree/.*

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
.*/react-native-linear-gradient/.*
Expand All @@ -50,6 +56,11 @@ node_modules/warning/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/StyleSheet/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/Text/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/Utilities/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
<PROJECT_ROOT>/node_modules/metro/.*
<PROJECT_ROOT>/node_modules/resolve/.*
<PROJECT_ROOT>/node_modules/metro-resolver/.*
<PROJECT_ROOT>/node_modules/hermes-parser/.*

[include]

Expand Down
11 changes: 11 additions & 0 deletions .flowconfig.android
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ node_modules/warning/.*
; Flow doesn't support platforms
; <PROJECT_ROOT>/node_modules/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.js

.*/resolve/test/resolver/malformed_package_json/package.json
.*/metro/.*
.*/metro-file-map/.*
.*/hermes-parser/.*
.*/hermes-estree/.*

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
.*/react-native-linear-gradient/.*
Expand All @@ -50,6 +56,11 @@ node_modules/warning/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/StyleSheet/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/Text/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/Utilities/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
<PROJECT_ROOT>/node_modules/metro/.*
<PROJECT_ROOT>/node_modules/resolve/.*
<PROJECT_ROOT>/node_modules/metro-resolver/.*
<PROJECT_ROOT>/node_modules/hermes-parser/.*

[include]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ package net.skyscanner.backpack
import android.content.res.Configuration
import android.os.Bundle
import com.facebook.react.ReactActivity
@Suppress("klint:unused-import")
import com.facebook.react.ReactActivityDelegate
@Suppress("klint:unused-import")
import com.facebook.react.ReactRootView
import com.facebook.react.modules.i18nmanager.I18nUtil

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import com.airbnb.android.react.maps.MapsPackage
import com.facebook.react.ReactApplication
import com.facebook.react.ReactNativeHost
import com.facebook.react.ReactPackage
@Suppress("klint:unused-import")
import com.facebook.react.config.ReactFeatureFlags
import com.facebook.react.shell.MainReactPackage
import com.facebook.soloader.SoLoader
Expand Down
2 changes: 1 addition & 1 deletion lib/bpk-component-dialog/src/NativeDialog.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
NativeEventEmitter,
processColor,
} from 'react-native';
import type EmitterSubscription from 'react-native/Libraries/vendor/emitter/_EmitterSubscription';
import type EmitterSubscription from 'react-native/Libraries/vendor/emitter/EventEmitter';
import isNil from 'lodash/isNil';
import { colors } from '@skyscanner/bpk-foundations-react-native/tokens/base.react.native';

Expand Down

0 comments on commit a648035

Please sign in to comment.