Merged in fix/3697-prettier-configs (pull request #3396)

fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Rasmus Langvad
2026-01-07 12:45:50 +00:00
parent 932413412b
commit d0546926a9
500 changed files with 18367 additions and 18419 deletions

View File

@@ -1,13 +1,13 @@
import { cx } from 'class-variance-authority'
import { cx } from "class-variance-authority"
import { nodesToHtml } from './utils'
import { nodesToHtml } from "./utils"
import styles from './jsontohtml.module.css'
import styles from "./jsontohtml.module.css"
import { ImageVaultAsset } from '@scandic-hotels/common/utils/imageVault'
import { ContentBlockType } from './types/rte/enums'
import type { RTENode } from './types/rte/node'
import type { RenderOptions } from './types/rte/option'
import { ImageVaultAsset } from "@scandic-hotels/common/utils/imageVault"
import { ContentBlockType } from "./types/rte/enums"
import type { RTENode } from "./types/rte/node"
import type { RenderOptions } from "./types/rte/option"
export type Node<T> = {
node: T
@@ -15,13 +15,13 @@ export type Node<T> = {
export type Embeds =
| {
__typename: Exclude<ContentBlockType, 'ImageContainer'>
__typename: Exclude<ContentBlockType, "ImageContainer">
system?: { uid: string } | undefined | null
url?: string | undefined | null
title?: string | undefined | null
}
| {
__typename: 'ImageContainer'
__typename: "ImageContainer"
system?: { uid: string } | null
url?: string | null
title?: string | null