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,24 +1,24 @@
import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import type { Meta, StoryObj } from "@storybook/nextjs-vite"
import { TripAdvisorChip } from './index'
import { TripAdvisorChip } from "./index"
const meta: Meta<typeof TripAdvisorChip> = {
title: 'Product Components/TripAdvisorChip',
title: "Product Components/TripAdvisorChip",
component: TripAdvisorChip,
argTypes: {
rating: {
control: { type: 'number', min: 0, max: 5, step: 0.1 },
control: { type: "number", min: 0, max: 5, step: 0.1 },
},
size: {
control: { type: 'select' },
options: ['default', 'small'],
control: { type: "select" },
options: ["default", "small"],
},
color: {
control: { type: 'select' },
options: ['default', 'subtle'],
control: { type: "select" },
options: ["default", "subtle"],
},
wrapper: {
control: { type: 'boolean' },
control: { type: "boolean" },
},
},
}
@@ -29,8 +29,8 @@ type Story = StoryObj<typeof TripAdvisorChip>
export const Default: Story = {
args: {
rating: 4.5,
size: 'default',
color: 'default',
size: "default",
color: "default",
wrapper: false,
},
}
@@ -38,8 +38,8 @@ export const Default: Story = {
export const WithWrapper: Story = {
args: {
rating: 4.5,
size: 'default',
color: 'default',
size: "default",
color: "default",
wrapper: true,
},
}
@@ -47,8 +47,8 @@ export const WithWrapper: Story = {
export const Small: Story = {
args: {
rating: 4.5,
size: 'small',
color: 'default',
size: "small",
color: "default",
wrapper: true,
},
}
@@ -56,8 +56,8 @@ export const Small: Story = {
export const Subtle: Story = {
args: {
rating: 4.5,
size: 'default',
color: 'subtle',
size: "default",
color: "subtle",
wrapper: false,
},
}