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 @@
import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import type { Meta, StoryObj } from "@storybook/nextjs-vite"
// import { expect, fn } from 'storybook/test'
import { Lang } from '@scandic-hotels/common/constants/language'
import { APIProvider } from '@vis.gl/react-google-maps'
import { useState } from 'react'
import { InteractiveMap } from '.'
import { hotelPins } from './storybookData'
import { Lang } from "@scandic-hotels/common/constants/language"
import { APIProvider } from "@vis.gl/react-google-maps"
import { useState } from "react"
import { InteractiveMap } from "."
import { hotelPins } from "./storybookData"
const meta: Meta<typeof InteractiveMap> = {
title: 'Patterns/Map/Interactive Map',
title: "Patterns/Map/Interactive Map",
component: InteractiveMap,
argTypes: {},
}
@@ -32,7 +32,7 @@ export const PrimaryDefault: Story = {
const mapId = import.meta.env.VITE_GOOGLE_DYNAMIC_MAP_ID
if (!mapKey || !mapId) {
throw new Error(
'VITE_GOOGLE_STATIC_MAP_KEY or VITE_GOOGLE_DYNAMIC_MAP_ID is not defined in your .env file. Please add it to run this story.'
"VITE_GOOGLE_STATIC_MAP_KEY or VITE_GOOGLE_DYNAMIC_MAP_ID is not defined in your .env file. Please add it to run this story."
)
}
@@ -44,8 +44,8 @@ export const PrimaryDefault: Story = {
<div
style={
{
'--hotel-map-height': '300px',
height: 'max(500px, 90vh)',
"--hotel-map-height": "300px",
height: "max(500px, 90vh)",
} as React.CSSProperties
}
>