Merged in chore/migrate-from-next-lint (pull request #3263)

chore: Migrate from next lint to eslint

* Migrate scandic-web

* Migrate partner-sas

* Enable any rule in partner-sas


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-12-02 10:08:56 +00:00
parent be28982e73
commit 5da3e457cb
18 changed files with 62 additions and 30 deletions

View File

@@ -1,5 +1,4 @@
import type { dynamicContentSchema } from "@scandic-hotels/trpc/routers/contentstack/schemas/headers/dynamicContent"
import type { z } from "zod"
import type { dynamicContentSchema } from "@scandic-hotels/trpc/routers/contentstack/schemas/headers/dynamicContent"
export type HeaderDynamicContentProps = z.infer<typeof dynamicContentSchema>

View File

@@ -1,4 +1,5 @@
import type { AdditionalData, Hotel } from "@scandic-hotels/trpc/types/hotel"
import type { MeetingRooms } from "../meetingRooms"
export type MeetingsAndConferencesSidePeekProps = {

View File

@@ -1,5 +1,4 @@
import type { mapLocationSchema } from "@scandic-hotels/trpc/routers/contentstack/schemas/mapLocation"
import type { z } from "zod"
import type { mapLocationSchema } from "@scandic-hotels/trpc/routers/contentstack/schemas/mapLocation"
export type MapLocation = z.output<typeof mapLocationSchema>

View File

@@ -1,10 +1,9 @@
import type { z } from "zod"
import type {
validateLinkItem,
validateLinksWithType,
validateSecondaryLinks,
} from "@scandic-hotels/trpc/routers/contentstack/base/output"
import type { z } from "zod"
export type FooterLink = z.output<typeof validateLinkItem>
export type FooterSecondaryNavGroup = z.output<typeof validateSecondaryLinks>