Drop accidental eslint dependency (#11460)

This commit is contained in:
Samuel Newman
2026-08-14 10:21:52 +03:00
committed by GitHub
parent afb3cdc26f
commit 70195d7059
62 changed files with 197 additions and 483 deletions
+2 -4
View File
@@ -157,8 +157,7 @@ export type ComposerAction =
| {
type: 'clear'
initInteractionSettings:
| app.bsky.actor.defs.PostInteractionSettingsPref
| undefined
app.bsky.actor.defs.PostInteractionSettingsPref | undefined
}
| {
type: 'mark_saved'
@@ -632,8 +631,7 @@ export function createComposerState({
initImageUris: ComposerOpts['imageUris']
initQuoteUri: string | undefined
initInteractionSettings:
| app.bsky.actor.defs.PostInteractionSettingsPref
| undefined
app.bsky.actor.defs.PostInteractionSettingsPref | undefined
}): ComposerState {
let media: ImagesMedia | GalleryMedia | undefined
if (initImageUris?.length) {
+1 -5
View File
@@ -148,11 +148,7 @@ type DoneState = {
}
export type VideoState =
| ErrorState
| CompressingState
| UploadingState
| ProcessingState
| DoneState
ErrorState | CompressingState | UploadingState | ProcessingState | DoneState
export function createVideoState(
asset: ImagePickerAsset,
+1 -4
View File
@@ -1,10 +1,7 @@
import {type VideoCompressSkipReason} from '#/lib/media/video/types'
export type VideoProgressPhase =
| 'compressing'
| 'uploading'
| 'uploadingWithoutCompression'
| 'processing'
'compressing' | 'uploading' | 'uploadingWithoutCompression' | 'processing'
// Keep progress monotonic across the full client pipeline instead of showing
// three separate 0 -> 100 cycles. Backend processing progress covers the
@@ -8,8 +8,7 @@ export type TextInputRef = {
* @platform web
*/
getCursorPosition: () =>
| {left: number; right: number; top: number; bottom: number}
| undefined
{left: number; right: number; top: number; bottom: number} | undefined
/**
* Closes the autocomplete popup if it is open.
* Returns `true` if the popup was closed, `false` otherwise.
+1 -2
View File
@@ -37,8 +37,7 @@ import {PressableWithHover} from './PressableWithHover'
import {Text} from './text/Text'
type Event =
| React.MouseEvent<HTMLAnchorElement, MouseEvent>
| GestureResponderEvent
React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent
interface Props extends React.ComponentProps<typeof TouchableOpacity> {
testID?: string
+2 -6
View File
@@ -521,9 +521,7 @@ let Row = function RowImpl<ItemT>({
item: ItemT
index: number
renderItem:
| null
| undefined
| ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
null | undefined | ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
extraData: unknown
onItemSeen: ((item: ItemT) => void) | undefined
registerRowNode: (index: number, node: HTMLElement | null) => void
@@ -604,9 +602,7 @@ Row = memo(Row) as <ItemT>(props: {
item: ItemT
index: number
renderItem:
| null
| undefined
| ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
null | undefined | ((info: ListRenderItemInfo<ItemT>) => React.ReactNode)
extraData: unknown
onItemSeen: ((item: ItemT) => void) | undefined
registerRowNode: (index: number, node: HTMLElement | null) => void
+1 -1
View File
@@ -307,7 +307,7 @@ let UserAvatar = ({
}, [size, style])
return avatar &&
!((moderation?.blur && IS_ANDROID) /* android crashes with blur */) ? (
!(moderation?.blur && IS_ANDROID /* android crashes with blur */) ? (
<View style={containerStyle}>
{usePlainRNImage ? (
<RNImage
+1 -1
View File
@@ -212,7 +212,7 @@ export function UserBanner({
/>
</>
) : banner &&
!((moderation?.blur && IS_ANDROID) /* android crashes with blur */) ? (
!(moderation?.blur && IS_ANDROID /* android crashes with blur */) ? (
<Image
style={[styles.bannerImage, t.atoms.bg_contrast_25]}
contentFit="cover"