Skip to content

Ml/onboarding single user + tons of refactoring account / client handling logic #92

Ml/onboarding single user + tons of refactoring account / client handling logic

Ml/onboarding single user + tons of refactoring account / client handling logic #92

Triggered via pull request February 10, 2025 17:30
Status Failure
Total duration 2m 4s
Artifacts

validate-code-quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 13 warnings
lint: screens/NewAccount/new-account-create-contact-card-screen.tsx#L134
React Hook useCallback has an unnecessary dependency: 'randoDisplayName'. Either exclude it or remove the dependency array. Outer scope values like 'randoDisplayName' aren't valid dependencies because mutating them doesn't re-render the component
lint: utils/logout/index.tsx#L66
React Hook useCallback has an unnecessary dependency: 'privyClient'. Either exclude it or remove the dependency array
lint
Process completed with exit code 1.
test
Process completed with exit code 1.
tsc: components/StateHandlers/MainIdentityStateHandler.tsx#L11
Argument of type '{ address: string; }' is not assignable to parameter of type '{ address: string; inboxId: string; privyId: string; }'.
tsc: features/conversation/conversation-create/hooks/use-search-convos-users.ts#L117
Argument of type '{ message: string; }' is not assignable to parameter of type '{ message: string; cause: unknown; }'.
tsc: features/conversation/conversation-message/conversation-message-context-menu/conversation-message-context-menu.tsx#L1
Cannot find module '@/data/store/accountsStore' or its corresponding type declarations.
tsc: features/conversation/conversation-message/conversation-message-reactions/use-conversation-message-reactions-rolled-up.tsx#L102
Property 'messageId' is missing in type '{ totalCount: number; userReacted: false; preview: { content: string; count: number; }[]; detailed: SortedReaction[]; }' but required in type 'RolledUpReactions'.
tsc: features/multi-inbox/multi-inbox.client.ts#L395
'xmtpClient' is possibly 'undefined'.
tsc: features/multi-inbox/multi-inbox.client.ts#L397
'xmtpClient' is possibly 'undefined'.
tsc: features/multi-inbox/multi-inbox.client.ts#L399
Type 'Client<DefaultContentTypes> | undefined' is not assignable to type 'Client<DefaultContentTypes>'.
tsc: features/shared/utils/user.ts#L1
'"@/features/multi-inbox/multi-inbox.store"' has no exported member named 'currentAccount'. Did you mean 'getCurrentAccount'?
tsc: hooks/useDisconnectActionSheet.ts#L23
This expression is not callable.
tsc: hooks/useGroupDescription.ts#L2
'"../features/multi-inbox/multi-inbox.store"' has no exported member named 'currentAccount'. Did you mean 'getCurrentAccount'?
lint
Cache not found for keys: node-cache-Linux-x64-yarn-49e75581c9627f85bbd98b880a22bc0c7324cf877da30b10e3b18de5df8ead80
lint: App.tsx#L97
'coinbaseUrl' is assigned a value but never used
lint: App.tsx#L116
Unexpected any. Specify a different type
lint: App.tsx#L119
Unexpected any. Specify a different type
lint: App.tsx#L183
Inline style: { flex: 1 }
lint: __mocks__/@sentry/react-native.ts#L17
Prefer named exports
lint: __mocks__/expo-haptics.ts#L38
Prefer named exports
lint: assets/Encrypted.tsx#L22
Prefer named exports
lint: components/AccountSettingsButton.tsx#L33
Prefer named exports
lint: components/AccountSettingsButton.tsx#L110
Unexpected any. Specify a different type
lint: components/AndroidBackAction.tsx#L6
Prefer named exports
test
Cache not found for keys: node-cache-Linux-x64-yarn-49e75581c9627f85bbd98b880a22bc0c7324cf877da30b10e3b18de5df8ead80
tsc
Cache not found for keys: node-cache-Linux-x64-yarn-49e75581c9627f85bbd98b880a22bc0c7324cf877da30b10e3b18de5df8ead80