Merged in chore/eslint9 (pull request #2029)

chore: Update to ESLint 9

* wip: apply codemod and upgrade swc plugin

* Update eslint to 9 in scandic-web

apply code mod to config
fix existing lint issues

* Remove uneccessary fixupConfigRules

* Update eslint to 9 in design-system

* Add lint turbo dependency

* Move redis-api to eslint and prettier instead of biome

* Simplify eslint configs

* Clean up

* Apply linting


Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-06-03 14:26:44 +00:00
parent 91278feb40
commit dd4ef527df
37 changed files with 858 additions and 497 deletions
@@ -1,9 +1,9 @@
import type { JSX } from "react"
import type { MembershipLevel } from "@/constants/membershipLevels"
import type { LoyaltyLevel } from "@/server/routers/contentstack/loyaltyLevel/output"
import type { CMSReward } from "../trpc/routers/contentstack/reward"
import type { JSX } from "react";
export type OverviewTableClientProps = {
activeMembership: MembershipLevel | null
levels: ComparisonLevel[]
+2 -3
View File
@@ -1,4 +1,4 @@
import { RTETypeEnum } from "./enums"
import type { JSX } from "react"
import type { EmbedByUid } from "../components/deprecatedjsontohtml"
import type {
@@ -8,10 +8,9 @@ import type {
RTEImageVaultAttrs,
RTELinkAttrs,
} from "./attrs"
import type { RTETypeEnum } from "./enums"
import type { RenderOptions } from "./option"
import type { JSX } from "react";
export interface RTEDefaultNode {
attrs: Attributes
children: RTENode[]
@@ -1,3 +1,5 @@
import type { JSX } from "react"
import type { EmbedByUid } from "../jsontohtml"
import type {
Attributes,
@@ -9,8 +11,6 @@ import type {
import type { RTETypeEnum } from "./enums"
import type { RenderOptions } from "./option"
import type { JSX } from "react";
export interface RTEDefaultNode {
attrs: Attributes
children: RTENode[]