Skip to content

Fix eslint formatting error after PR #734 (#779) #422

Fix eslint formatting error after PR #734 (#779)

Fix eslint formatting error after PR #734 (#779) #422

Triggered via push October 28, 2024 12:51
Status Success
Total duration 22m 37s
Artifacts

deploy.yml

on: push
Validate typescript  /  Test typescript
1m 21s
Validate typescript / Test typescript
Check for cluster conditions  /  Checking for directory changes in repository
7s
Check for cluster conditions / Checking for directory changes in repository
Check for cluster conditions  /  Checking deployment conditions
4s
Check for cluster conditions / Checking deployment conditions
Build & Push Storybook
3m 20s
Build & Push Storybook
dev Strapi  /  Build and deploy with bratiska-cli
dev Strapi / Build and deploy with bratiska-cli
prod Strapi  /  Build and deploy with bratiska-cli
prod Strapi / Build and deploy with bratiska-cli
staging Strapi  /  Build and deploy with bratiska-cli
8m 4s
staging Strapi / Build and deploy with bratiska-cli
dev Next  /  Build and deploy with bratiska-cli
dev Next / Build and deploy with bratiska-cli
prod Next  /  Build and deploy with bratiska-cli
prod Next / Build and deploy with bratiska-cli
staging Next  /  Build and deploy with bratiska-cli
staging Next / Build and deploy with bratiska-cli
after dev Strapi deploy Next  /  Build and deploy with bratiska-cli
after dev Strapi deploy Next / Build and deploy with bratiska-cli
after prod Strapi deploy Next  /  Build and deploy with bratiska-cli
after prod Strapi deploy Next / Build and deploy with bratiska-cli
after staging Strapi deploy Next  /  Build and deploy with bratiska-cli
6m 47s
after staging Strapi deploy Next / Build and deploy with bratiska-cli
Fit to window
Zoom out
Zoom in

Annotations

58 errors and 1 warning
[tsc] next/src/components/common/Icon/Icon.tsx#L92 <2322>: next/src/components/common/Icon/Icon.tsx#L92
Type 'FC<SVGProps<SVGElement>>' is not assignable to type 'IconType'. Types of property 'propTypes' are incompatible. Type 'WeakValidationMap<SVGProps<SVGElement>> | undefined' is not assignable to type 'WeakValidationMap<SVGProps<SVGSVGElement>> | undefined'. Type 'WeakValidationMap<SVGProps<SVGElement>>' is not assignable to type 'WeakValidationMap<SVGProps<SVGSVGElement>>'. Types of property 'ref' are incompatible. Type 'Validator<LegacyRef<SVGElement> | undefined> | undefined' is not assignable to type 'Validator<LegacyRef<SVGSVGElement> | undefined> | undefined'. Type 'Validator<LegacyRef<SVGElement> | undefined>' is not assignable to type 'Validator<LegacyRef<SVGSVGElement> | undefined>'. Type 'LegacyRef<SVGElement> | undefined' is not assignable to type 'LegacyRef<SVGSVGElement> | undefined'. Type 'RefObject<SVGElement>' is not assignable to type 'LegacyRef<SVGSVGElement> | undefined'. Type 'RefObject<SVGElement>' is not assignable to type 'RefObject<SVGSVGElement>'. Type 'SVGElement' is not assignable to type 'SVGSVGElement'.
[tsc] next/src/components/common/Icon/OloIcon.tsx#L63 <2322>: next/src/components/common/Icon/OloIcon.tsx#L63
Type 'FC<SVGProps<SVGElement>>' is not assignable to type 'OloIconType'.
[tsc] next/src/components/common/Icon/Pictogram.tsx#L35 <2322>: next/src/components/common/Icon/Pictogram.tsx#L35
Type 'FC<SVGProps<SVGElement>>' is not assignable to type 'PictogramType'.
[tsc] next/src/components/common/Icon/Icon.tsx#L92 <2322>: next/src/components/common/Icon/Icon.tsx#L92
Type 'FC<SVGProps<SVGElement>>' is not assignable to type 'IconType'. Types of property 'propTypes' are incompatible. Type 'WeakValidationMap<SVGProps<SVGElement>> | undefined' is not assignable to type 'WeakValidationMap<SVGProps<SVGSVGElement>> | undefined'. Type 'WeakValidationMap<SVGProps<SVGElement>>' is not assignable to type 'WeakValidationMap<SVGProps<SVGSVGElement>>'. Types of property 'ref' are incompatible. Type 'Validator<LegacyRef<SVGElement> | undefined> | undefined' is not assignable to type 'Validator<LegacyRef<SVGSVGElement> | undefined> | undefined'. Type 'Validator<LegacyRef<SVGElement> | undefined>' is not assignable to type 'Validator<LegacyRef<SVGSVGElement> | undefined>'. Type 'LegacyRef<SVGElement> | undefined' is not assignable to type 'LegacyRef<SVGSVGElement> | undefined'. Type 'RefObject<SVGElement>' is not assignable to type 'LegacyRef<SVGSVGElement> | undefined'. Type 'RefObject<SVGElement>' is not assignable to type 'RefObject<SVGSVGElement>'. Type 'SVGElement' is not assignable to type 'SVGSVGElement'.
[tsc] next/src/components/common/Icon/OloIcon.tsx#L63 <2322>: next/src/components/common/Icon/OloIcon.tsx#L63
Type 'FC<SVGProps<SVGElement>>' is not assignable to type 'OloIconType'.
[tsc] next/src/components/common/Icon/Pictogram.tsx#L35 <2322>: next/src/components/common/Icon/Pictogram.tsx#L35
Type 'FC<SVGProps<SVGElement>>' is not assignable to type 'PictogramType'.
Build & Push Storybook
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/metadata-action@v4, docker/setup-buildx-action@v2, docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/