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,8 +1,8 @@
import type { LogoProps } from '../icon'
import type { LogoProps } from "../icon"
export default function DowntownCamperIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 30,
width = 123,
...props
@@ -16,7 +16,7 @@ export default function DowntownCamperIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Downtown Camper'}
aria-label={ariaLabel ?? "Downtown Camper"}
{...props}
>
<path

View File

@@ -1,8 +1,8 @@
import type { LogoProps } from '../icon'
import type { LogoProps } from "../icon"
export default function GrandHotelOsloLogoIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 30,
width = 69,
...props
@@ -16,7 +16,7 @@ export default function GrandHotelOsloLogoIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Grand Hotel Oslo'}
aria-label={ariaLabel ?? "Grand Hotel Oslo"}
{...props}
>
<path

View File

@@ -1,8 +1,8 @@
import type { LogoProps } from '../icon'
import type { LogoProps } from "../icon"
export default function HaymarketIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 26,
width = 100,
...props
@@ -16,7 +16,7 @@ export default function HaymarketIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Haymarket'}
aria-label={ariaLabel ?? "Haymarket"}
{...props}
>
<path

View File

@@ -1,8 +1,8 @@
import type { LogoProps } from '../icon'
import type { LogoProps } from "../icon"
export default function HotelNorgeIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 24,
width = 117,
...props
@@ -16,7 +16,7 @@ export default function HotelNorgeIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Hotel Norge'}
aria-label={ariaLabel ?? "Hotel Norge"}
{...props}
>
<path

View File

@@ -1,8 +1,8 @@
import type { LogoProps } from '../icon'
import type { LogoProps } from "../icon"
export default function MarskiLogoIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 30,
width = 92,
...props
@@ -16,7 +16,7 @@ export default function MarskiLogoIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Marski'}
aria-label={ariaLabel ?? "Marski"}
{...props}
>
<path

View File

@@ -1,8 +1,8 @@
import type { LogoProps } from '../icon'
import type { LogoProps } from "../icon"
export default function ScandicGoLogoIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 18,
width = 90,
...props
@@ -16,7 +16,7 @@ export default function ScandicGoLogoIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Scandic Go'}
aria-label={ariaLabel ?? "Scandic Go"}
{...props}
>
<path

View File

@@ -1,11 +1,11 @@
import { cx } from 'class-variance-authority'
import type { LogoProps } from '../icon'
import { cx } from "class-variance-authority"
import type { LogoProps } from "../icon"
import styles from './logo.module.css'
import styles from "./logo.module.css"
export default function ScandicLogoIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 14,
width = 58,
...props
@@ -19,7 +19,7 @@ export default function ScandicLogoIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'Scandic'}
aria-label={ariaLabel ?? "Scandic"}
{...props}
>
<path

View File

@@ -1,8 +1,8 @@
import type { LogoProps } from '../icon'
import type { LogoProps } from "../icon"
export default function TheDockIcon({
className = '',
'aria-label': ariaLabel,
className = "",
"aria-label": ariaLabel,
height = 30,
width = 128,
...props
@@ -16,7 +16,7 @@ export default function TheDockIcon({
fill="none"
xmlns="http://www.w3.org/2000/svg"
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
aria-label={ariaLabel ?? 'The Dock'}
aria-label={ariaLabel ?? "The Dock"}
{...props}
>
<path

View File

@@ -1,11 +1,11 @@
import DowntownCamperIcon from './DowntownCamper'
import GrandHotelOsloLogoIcon from './GrandHotelOslo'
import HaymarketIcon from './Haymarket'
import HotelNorgeIcon from './HotelNorge'
import MarskiLogoIcon from './Marski'
import ScandicGoLogoIcon from './ScandicGoLogo'
import ScandicLogoIcon from './ScandicLogo'
import TheDockIcon from './TheDock'
import DowntownCamperIcon from "./DowntownCamper"
import GrandHotelOsloLogoIcon from "./GrandHotelOslo"
import HaymarketIcon from "./Haymarket"
import HotelNorgeIcon from "./HotelNorge"
import MarskiLogoIcon from "./Marski"
import ScandicGoLogoIcon from "./ScandicGoLogo"
import ScandicLogoIcon from "./ScandicLogo"
import TheDockIcon from "./TheDock"
type HotelLogoProps = {
hotelId: string
@@ -14,18 +14,18 @@ type HotelLogoProps = {
}
enum HotelTypeEnum {
Signature = 'signature',
ScandicGo = 'scandicgo',
Regular = 'regular',
Signature = "signature",
ScandicGo = "scandicgo",
Regular = "regular",
}
enum SignatureHotelEnum {
DowntownCamper = '879',
GrandHotelOslo = '340',
Haymarket = '890',
HotelNorge = '785',
Marski = '605',
TheDock = '796',
DowntownCamper = "879",
GrandHotelOslo = "340",
Haymarket = "890",
HotelNorge = "785",
Marski = "605",
TheDock = "796",
}
export default function HotelLogoIcon({