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,14 +1,14 @@
'use client'
"use client"
import { variants } from './variants'
import { variants } from "./variants"
import { cx, type VariantProps } from 'class-variance-authority'
import type { HTMLAttributes } from 'react'
import { Typography } from '../Typography'
import { cx, type VariantProps } from "class-variance-authority"
import type { HTMLAttributes } from "react"
import { Typography } from "../Typography"
interface FakeButtonProps
extends
Omit<HTMLAttributes<HTMLSpanElement>, 'color'>,
Omit<HTMLAttributes<HTMLSpanElement>, "color">,
VariantProps<typeof variants> {
isDisabled?: boolean
}
@@ -36,9 +36,9 @@ export function FakeButton({
return (
<Typography
variant={
size === 'sm'
? 'Body/Supporting text (caption)/smBold'
: 'Body/Paragraph/mdBold'
size === "sm"
? "Body/Supporting text (caption)/smBold"
: "Body/Paragraph/mdBold"
}
>
<span

View File

@@ -1,8 +1,8 @@
import { cva } from 'class-variance-authority'
import { cva } from "class-variance-authority"
import { withButton } from '../Button'
import { withButton } from "../Button"
import buttonStyles from '../Button/button.module.css'
import buttonStyles from "../Button/button.module.css"
export const variants = cva(
buttonStyles.button,