Push on main #295
codeql
on: dynamic
Matrix: analyze
Annotations
30 warnings and 14 notices
Unused import:
src/components/announcementNotification.tsx#L3
Unused
import { getAnnouncements } from '@/utils/actions/announcement-actions'
|
Unused import:
src/app/layout.tsx#L6
Unused
import Header from '@/components/header/header-server'
|
Unused import:
src/app/(main)/gallery/page.tsx#L2
Unused import { headers } from 'next/headers'
|
Unused import:
src/components/announcementNotification.tsx#L2
Unused import specifier AnnouncementDocumentsType
|
Unused import:
src/app/layout.tsx#L7
Unused import Footer from '@/components/footer'
|
Unused import:
src/components/pageLayout.tsx#L2
Unused
import { TabsList, TabsTrigger } from '@/components/ui/tabs'
|
Unused import:
src/app/(main)/gallery/page.tsx#L3
Unused
import { createSessionServerClient } from '@/app/appwrite-session'
|
Unused import:
src/app/(account)/account/gallery/page.tsx#L2
Unused import { headers } from 'next/headers'
|
ESLint:
src/components/account/profile/mfaAlert.tsx#L138
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(main)/announcements/[announcementId]/page.tsx#L54
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(account)/account/gallery/[galleryId]/page.client.tsx#L130
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(account)/account/profile/frontpage/uploadBanner.tsx#L154
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(account)/account/profile/frontpage/uploadAvatar.tsx#L154
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(account)/account/idcard/page.client.jsx#L198
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(account)/account/idcard/page.client.jsx#L163
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(main)/gallery/[galleryId]/page.client.tsx#L15
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
ESLint:
src/app/(account)/account/gallery/upload/page.client.tsx#L160
ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)
|
Unused local symbol:
src/app/(user)/user/[profileUrl]/gallery/page.client.tsx#L21
Unused constant setCurrentPage
|
Unused local symbol:
src/components/ui/calendar.tsx#L58
Unused parameter props
|
Unused local symbol:
src/app/(account)/account/profile/frontpage/page.client.tsx#L20
Unused constant hiddenPronouns
|
Unused local symbol:
src/app/(account)/account/profile/frontpage/page.client.tsx#L20
Unused constant setHiddenPronouns
|
Unused local symbol:
src/components/account/profile/mfaAlert.tsx#L27
Unused constant setRecoveryCodes
|
Unused local symbol:
src/lib/server-calls.ts#L14
Unused function getCookies
|
Unused local symbol:
src/app/(main)/gallery/page.client.tsx#L12
Unused constant totalPages
|
Unused local symbol:
src/app/(main)/gallery/[galleryId]/page.tsx#L19
Unused constant account
|
Unused local symbol:
src/components/header/header-server.tsx#L16
Unused parameter error
|
Unused local symbol:
src/components/account/profile/mfaAlert.tsx#L27
Unused constant recoveryCodes
|
Unused local symbol:
src/app/(main)/events/page.tsx#L34
Unused parameter index
|
Unused local symbol:
src/components/ui/calendar.tsx#L57
Unused parameter props
|
Unused local symbol:
src/app/(main)/gallery/page.client.tsx#L11
Unused constant setCurrentPage
|
Signature mismatch:
src/app/api/user/oauth/route.js#L15
Argument type string is not assignable to parameter type any
|
Signature mismatch:
src/app/(account)/account/idcard/page.client.jsx#L129
Argument type { method: string, body: FormData } is not assignable to parameter type RequestInit \| undefined
...
Type FormData is not assignable to type BodyInit \| null \| undefined
Type FormData is not assignable to type
ReadableStream\<any\> \| Blob \| ArrayBufferView \| ArrayBuffer \| FormData \| URLSearchParams \| string
Type FormData is not assignable to type string
|
Signature mismatch:
src/app/api/user/oauth/route.js#L16
Argument type string is not assignable to parameter type any
|
Signature mismatch:
src/app/api/user/signin/route.js#L23
Argument type string is not assignable to parameter type any
|
Signature mismatch:
src/app/api/user/signin/route.js#L22
Argument type string is not assignable to parameter type any
|
Signature mismatch:
src/app/api/user/logoutUser/route.js#L14
Argument type string is not assignable to parameter type any
|
Signature mismatch:
src/app/api/user/signin/route.js#L24
Argument type
{
path: string,
maxAge: Date,
sameSite: string,
domain: string,
httpOnly: boolean,
secure: boolean
}
is not assignable to parameter type any
|
Signature mismatch:
src/app/api/user/logoutUser/route.js#L15
Argument type
{
path: string,
expires: Date,
domain: string,
httpOnly: boolean,
secure: boolean
}
is not assignable to parameter type any
|
Signature mismatch:
src/app/api/user/logoutUser/route.js#L13
Argument type string is not assignable to parameter type any
|
Signature mismatch:
src/app/api/user/oauth/route.js#L17
Argument type
{
path: string,
maxAge: Date,
sameSite: string,
domain: string,
httpOnly: boolean,
secure: boolean
}
is not assignable to parameter type any
|
Referenced UMD global variable:
src/components/ui/resizable.tsx#L27
Referenced UMD global variable
|
Referenced UMD global variable:
src/components/ui/sonner.tsx#L6
Referenced UMD global variable
|
Referenced UMD global variable:
src/components/ui/resizable.tsx#L11
Referenced UMD global variable
|
Referenced UMD global variable:
src/components/ui/skeleton.tsx#L6
Referenced UMD global variable
|