Refactoring #109
Annotations
12 errors and 9 warnings
Build
'useCallback' is declared but its value is never read.
|
Build
Process completed with exit code 2.
|
Lint:
canopeum_frontend/src/components/AnnouncementCard.tsx#L1
Run autofix to sort these imports!
|
Lint:
canopeum_frontend/src/components/ContactCard.tsx#L1
Run autofix to sort these imports!
|
Lint:
canopeum_frontend/src/components/CreatePostWidget.tsx#L21
Empty components are self-closing
|
Lint:
canopeum_frontend/src/components/analytics/SiteSummaryCard.tsx#L67
Use <progress> instead of the "progressbar" role to ensure accessibility across all devices
|
Lint:
canopeum_frontend/src/pages/Analytics.tsx#L137
Unsafe argument of type `any` assigned to a parameter of type `number`
|
Lint:
canopeum_frontend/src/pages/Analytics.tsx#L137
Unsafe argument of type `any` assigned to a parameter of type `number`
|
Lint:
canopeum_frontend/src/pages/Analytics.tsx#L157
Unsafe argument of type `any` assigned to a parameter of type `number`
|
Lint:
canopeum_frontend/src/pages/Map.tsx#L7
'useCallback' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L1
Run autofix to sort these imports!
|
Lint
Process completed with exit code 1.
|
Lint:
canopeum_frontend/src/components/ContactCard.tsx#L32
Unsafe assignment of an `any` value
|
Lint:
canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L15
Unexpected 'TODO' comment: 'TODO implement follow here when backend...'
|
Lint:
canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L19
Unexpected 'TODO' comment: 'TODO Implement site update when backend...'
|
Lint:
canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L35
Unexpected 'TODO' comment: 'TODO: replace img source when backend...'
|
Lint:
canopeum_frontend/src/pages/Analytics.tsx#L141
Unsafe assignment of an `any` value
|
Lint:
canopeum_frontend/src/pages/Login.tsx#L50
Unexpected 'TODO' comment: 'TODO (Vincent) set the user role'
|
Lint:
canopeum_frontend/src/pages/Map.tsx#L7
'useCallback' is defined but never used
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L70
Unsafe call of an `any` typed value
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L70
Unsafe member access .map on an `any` value
|