Maintenance/claude skills #355
lint.yml
on: pull_request
Lint Hotfix Bypass
0s
Lint
1m 42s
Annotations
8 errors
|
Lint
Process completed with exit code 2.
|
|
Lint:
src/components/scripts/store/consent.ts#L410
Type 'number' is not assignable to type 'Timeout'.
|
|
Lint:
src/components/scripts/sentry/helpers.ts#L75
Property 'operation' comes from an index signature, so it must be accessed with ['operation'].
|
|
Lint:
src/components/scripts/sentry/helpers.ts#L74
Property 'scriptName' comes from an index signature, so it must be accessed with ['scriptName'].
|
|
Lint:
src/components/Pages/Downloads/client/index.ts#L131
Argument of type '{ consent: true | undefined; DataSubjectId: string | undefined; companyName?: string; jobTitle?: string; firstName: string; lastName: string; workEmail: string; }' is not assignable to parameter of type '{ firstName: string; lastName: string; workEmail: string; jobTitle: unknown; companyName: unknown; consent?: boolean | undefined; DataSubjectId?: string | undefined; }'.
|
|
Lint:
src/components/Pages/Downloads/client/__tests__/selectors.spec.ts#L8
Module '"@components/Pages/Downloads/client/selectors"' has no exported member 'getDownloadJobTitleInput'.
|
|
Lint:
src/components/Pages/Downloads/client/__tests__/selectors.spec.ts#L5
'"@components/Pages/Downloads/client/selectors"' has no exported member named 'getDownloadCompanyNameInput'. Did you mean 'getDownloadLastNameInput'?
|
|
Lint:
src/actions/newsletter/action.ts#L182
Argument of type '{ body: { email: string; firstName?: string | undefined; consentGiven?: boolean | undefined; DataSubjectId?: string | undefined; }; fingerprint: string | undefined; consentFunctional: boolean; stage: NewsletterSubscribeStage; userAgent: string; clientAddress: string; rateLimitIdentifier: string | undefined; subjectIdSource: "pending" | "generated" | "provided"; }' is not assignable to parameter of type '{ body: { email: string; firstName?: string | undefined; consentGiven?: boolean | undefined; DataSubjectId?: string | undefined; }; fingerprint?: string; consentFunctional: boolean; stage: NewsletterSubscribeStage; userAgent: string; clientAddress?: string; rateLimitIdentifier?: string; subjectIdSource: "pending" | "generated" | "provided"; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|