Skip to content

Events v2 collect certificate workflow boilerplate code #16672

Events v2 collect certificate workflow boilerplate code

Events v2 collect certificate workflow boilerplate code #16672

Triggered via pull request January 22, 2025 05:30
Status Failure
Total duration 5m 35s
Artifacts 1

lint-and-test.yml

on: pull_request
Prepare client tests
2m 6s
Prepare client tests
Setup tests
8s
Setup tests
Lint unused exports with Knip
4m 40s
Lint unused exports with Knip
Build toolkit
3m 0s
Build toolkit
Matrix: Test client
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Lint unused exports with Knip
Process completed with exit code 1.
Lint client: packages/client/src/v2-events/features/events/actions/collect-certificate/Review.tsx#L129
Promises must be handled appropriately or explicitly marked as ignored with the `void` operator
Lint client: packages/client/src/v2-events/hooks/useAppConfig.ts#L27
Top-level arrow functions are not allowed
Lint client: packages/client/src/v2-events/hooks/utils/PDFUtils.ts#L21
'@client/pdfRenderer' import is restricted from being used by a pattern
Lint client: packages/client/src/v2-events/hooks/utils/PDFUtils.ts#L22
'@client/templates/register' import is restricted from being used by a pattern
Lint client: packages/client/src/v2-events/hooks/utils/PDFUtils.ts#L84
Default parameters should be last
Lint client: packages/client/src/v2-events/hooks/utils/PDFUtils.ts#L183
Forbidden non-null assertion
Lint client: packages/client/src/v2-events/hooks/utils/PDFUtils.ts#L184
Forbidden non-null assertion
Lint client: packages/client/src/v2-events/hooks/utils/PDFUtils.ts#L185
Forbidden non-null assertion
Lint client: packages/client/src/v2-events/hooks/utils/certificateUtils.ts#L18
'@client/declarations' import is restricted from being used by a pattern
Lint client: packages/client/src/v2-events/hooks/utils/certificateUtils.ts#L19
'@client/offline/reducer' import is restricted from being used by a pattern
Lint client: packages/client/src/SubmissionController.test.ts#L33
Unexpected any. Specify a different type
Lint client: packages/client/src/components/DateRangePickerForFormField.tsx#L33
Unexpected any. Specify a different type
Lint client: packages/client/src/components/Query.tsx#L26
Unexpected any. Specify a different type
Lint client: packages/client/src/components/SessionExpireConfirmation.tsx#L68
Unexpected any. Specify a different type
Lint client: packages/client/src/components/form/FetchButton.tsx#L132
Unexpected any. Specify a different type
Lint client: packages/client/src/components/form/FetchButton.tsx#L174
Unexpected any. Specify a different type
Lint client: packages/client/src/components/form/FormFieldGenerator.test.tsx#L132
Unexpected any. Specify a different type
Lint client: packages/client/src/components/form/FormFieldGenerator.tsx#L185
Unexpected any. Specify a different type
Lint client: packages/client/src/components/form/FormFieldGenerator.tsx#L186
Unexpected any. Specify a different type
Lint client: packages/client/src/components/form/FormFieldGenerator.tsx#L543
Unexpected any. Specify a different type

Artifacts

Produced during runtime
Name Size
client
11.3 MB