Skip to content

Fix dprint formatting #40

Fix dprint formatting

Fix dprint formatting #40

Triggered via pull request March 23, 2024 17:10
Status Failure
Total duration 49s
Artifacts

canopeum_frontend.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
Build
Property 'batches' does not exist on type 'Client'.
Build
'siteId' is declared but its value is never read.
Build
Process completed with exit code 2.
Lint: canopeum_frontend/src/components/context/AuthenticationContext.tsx#L25
Unexpected empty method 'authenticate'
Lint: canopeum_frontend/src/components/context/AuthenticationContext.tsx#L30
Component definition is missing display name
Lint: canopeum_frontend/src/components/context/AuthenticationContext.tsx#L33
'user' is already declared in the upper scope on line 31 column 10
Lint: canopeum_frontend/src/components/context/AuthenticationContext.tsx#L37
The object passed as the value prop to the Context provider (at line 37) changes every render. To fix this consider wrapping it in a useMemo hook
Lint
Process completed with exit code 1.
Lint: canopeum_frontend/src/components/context/AuthenticationContext.tsx#L4
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: canopeum_frontend/src/pages/Home.tsx#L15
Unsafe assignment of an `any` value
Lint: canopeum_frontend/src/pages/Home.tsx#L15
Unsafe call of an `any` typed value
Lint: canopeum_frontend/src/pages/Home.tsx#L15
Unsafe member access .all on an `any` value
Lint: canopeum_frontend/src/pages/Home.tsx#L16
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<BatchAnalytics[]>`