Push on main #383
Annotations
28 warnings and 4 notices
Comma expression:
src/app/[locale]/(main)/map/page.client.tsx#L233
Comma expression
|
Comma expression:
src/app/[locale]/(main)/map/page.client.tsx#L204
Comma expression
|
Comma expression:
src/app/[locale]/(main)/map/page.client.tsx#L259
Comma expression
|
Unused import:
src/components/api/documents.ts#L2
Unused import specifier Query
|
Unused import:
src/app/[locale]/(main)/map/page.client.tsx#L2
Unused import specifier useCallback
|
Unused import:
src/app/[locale]/(interactive)/interactive/voting/page.tsx#L1
Unused
import PageLayout from '@/components/pageLayout'
|
Unused import:
src/app/[locale]/(interactive)/interactive/voting/page.tsx#L6
Unused
import ChangeLanguage from '@/components/system/changeLanguage'
|
ESLint:
src/components/map/polygon.tsx#L94
ESLint: React Hook useEffect has a missing dependency: 'polygon'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/circle.tsx#L64
ESLint: React Hook useEffect has a missing dependency: 'circle'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/polygon.tsx#L131
ESLint: React Hook useImperativeHandle has a missing dependency: 'polygon'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/polyline.tsx#L129
ESLint: React Hook useImperativeHandle has a missing dependency: 'polyline'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/circle.tsx#L87
ESLint: React Hook useEffect has a missing dependency: 'circle'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/polyline.tsx#L92
ESLint: React Hook useEffect has a missing dependency: 'polyline'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/components/map/circle.tsx#L69
ESLint: React Hook useEffect has a missing dependency: 'circle'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/app/[locale]/(interactive)/interactive/voting/page.client.tsx#L84
ESLint: React Hook useEffect has a missing dependency: 'handleSubscribedEvents'. Either include it or remove the dependency array. (react-hooks/exhaustive-deps)
|
ESLint:
src/app/[locale]/(main)/map/page.client.tsx#L103
ESLint: React Hook useEffect has missing dependencies: 'handleSubscribedEvents', 'locationsSubscribed', and 'onRefresh'. Either include them or remove the dependency array. (react-hooks/exhaustive-deps)
|
Unused local symbol:
src/app/[locale]/(main)/users/page.tsx#L7
Unused parameter locale
|
Unused local symbol:
src/components/ui/calendar.tsx#L58
Unused parameter props
|
Unused local symbol:
src/app/[locale]/(main)/gallery/page.client.tsx#L12
Unused constant setCurrentPage
|
Unused local symbol:
src/app/[locale]/(user)/user/[profileUrl]/following/page.tsx#L21
Unused parameter locale
|
Unused local symbol:
src/app/[locale]/(main)/map/page.client.tsx#L25
Unused constant setFilters
|
Unused local symbol:
src/app/[locale]/(user)/user/[profileUrl]/followers/page.tsx#L21
Unused parameter locale
|
Unused local symbol:
src/app/[locale]/(main)/map/page.client.tsx#L25
Unused constant filters
|
Unused local symbol:
src/app/[locale]/(account)/account/page.tsx#L17
Unused parameter locale
|
Unused local symbol:
src/app/[locale]/(main)/map/page.client.tsx#L21
Unused constant userLocation
|
Unused local symbol:
src/app/[locale]/(main)/map/page.client.tsx#L21
Unused constant setUserLocation
|
Unused local symbol:
src/app/[locale]/(main)/gallery/page.client.tsx#L13
Unused constant totalPages
|
Unused local symbol:
src/components/ui/calendar.tsx#L57
Unused parameter props
|
Signature mismatch:
src/app/[locale]/(account)/account/idcard/page.client.jsx#L130
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/logoutUser/route.js#L14
Argument type string 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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
sarif-artifact-javascript
|
86.9 KB |
|