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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user