Push on main #252
codeql
on: dynamic
Matrix: analyze
Annotations
35 warnings and 1 notice
Unused import:
components/data/DrawerData.tsx#L32
Unused import kv from 'expo-sqlite/kv-store'
|
Unused import:
app/community/(stacks)/[communityId]/admin/index.tsx#L10
Unused import specifier H1
|
Unused import:
components/data/DrawerData.tsx#L37
Unused
import { i18n } from '\~/components/system/i18n'
|
Unused import:
app/account/(stacks)/userprofile/(tabs)/index.tsx#L15
Unused import specifier H1
|
Unused import:
app/community/(stacks)/[communityId]/admin/advanced.tsx#L10
Unused import specifier H1
|
ESLint:
app/chat/[conversationId]/index.tsx#L50
ESLint: 'isFetching' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/relationships/_layout.tsx#L9
ESLint: 'theme' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/chat/[conversationId]/index.tsx#L216
ESLint: React Hook useCallback has a missing dependency: 'fetchConversation'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
components/data/DrawerData.tsx#L32
ESLint: 'kv' is defined but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
components/data/DrawerData.tsx#L78
ESLint: 'setColorScheme' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/chat/list/index.tsx#L114
ESLint: React Hook useCallback has a missing dependency: 'fetchInitialData'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
components/user/UserActions.tsx#L46
ESLint: 'themeButtons' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/gallery/(stacks)/index.tsx#L131
ESLint: 'loadMore' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/chat/list/index.tsx#L120
ESLint: React Hook useCallback has a missing dependency: 'onRefresh'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
app/account/(stacks)/userprofile/(tabs)/index.tsx#L15
ESLint: 'H1' is defined but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/chat/list/_layout.tsx#L9
ESLint: 'current' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
components/calculateTimeLeft.tsx#L131
ESLint: React Hook useEffect has an unnecessary dependency: 'timeSince'. Either exclude it or remove the dependency array. Outer scope values like 'timeSince' aren't valid dependencies because mutating them doesn't re-render the component. (react-hooks/exhaustive-deps)
|
ESLint:
lib/types/collections.ts#L10
ESLint: An interface declaring no members is equivalent to its supertype. (@typescript-eslint/no-empty-object-type)
|
ESLint:
components/blocks/events/EventsList.tsx#L73
ESLint: React Hook useCallback has a missing dependency: 'onRefresh'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
components/calculateTimeLeft.tsx#L117
ESLint: React Hook useEffect has an unnecessary dependency: 'calculateTimeLeft'. Either exclude it or remove the dependency array. Outer scope values like 'calculateTimeLeft' aren't valid dependencies because mutating them doesn't re-render the component. (react-hooks/exhaustive-deps)
|
ESLint:
components/data/DrawerData.tsx#L37
ESLint: 'i18n' is defined but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/community/(stacks)/[communityId]/admin/advanced.tsx#L10
ESLint: 'H1' is defined but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
components/data/DrawerData.tsx#L82
ESLint: 'openBrowser' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
app/community/(stacks)/[communityId]/admin/index.tsx#L10
ESLint: 'H1' is defined but never used. (@typescript-eslint/no-unused-vars)
|
ESLint:
components/blocks/events/EventsList.tsx#L78
ESLint: React Hook useEffect has a missing dependency: 'showLoadingModal'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
components/contexts/SharingContext.tsx#L45
ESLint: React Hook useEffect has a missing dependency: 'checkStatus'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
app/chat/[conversationId]/index.tsx#L183
ESLint: React Hook useEffect has a missing dependency: 'fetchConversation'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
Unused local symbol:
app/relationships/_layout.tsx#L9
Unused constant theme
|
Unused local symbol:
app/chat/list/_layout.tsx#L9
Unused constant current
|
Unused local symbol:
components/user/UserActions.tsx#L46
Unused constant themeButtons
|
Unused local symbol:
components/data/DrawerData.tsx#L82
Unused constant openBrowser
|
Unused local symbol:
components/calculateTimeLeft.tsx#L54
Unused parameter upcoming
|
Unused local symbol:
app/chat/[conversationId]/index.tsx#L50
Unused constant isFetching
|
Unused local symbol:
app/gallery/(stacks)/index.tsx#L131
Unused constant loadMore
|
Unused local symbol:
components/data/DrawerData.tsx#L78
Unused constant setColorScheme
|
Signature mismatch:
metro.config.js#L8
Argument type { input: string } is not assignable to parameter type WithNativeWindOptions
|