Skip to content

Commit e761c76

Browse files
committed
hotfix: add missing prettier scripts and fix prettier errors
1 parent e8faf0f commit e761c76

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const config: StorybookConfig = {
55
addons: [
66
"@storybook/addon-onboarding",
77
"@storybook/addon-essentials",
8-
"@storybook/addon-interactions"
8+
"@storybook/addon-interactions",
99
],
1010
framework: {
1111
name: "@storybook/react-vite",

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
},
99
"scripts": {
1010
"dev": "tsup --watch",
11+
"format": "npx prettier --write .",
12+
"prettier": "npx prettier --check .",
1113
"lint": "eslint",
1214
"test": "vitest",
1315
"build": "tsup",
@@ -48,6 +50,7 @@
4850
"globals": "^15.14.0",
4951
"jsdom": "^26.0.0",
5052
"postcss": "^8.5.1",
53+
"prettier": "^3.4.2",
5154
"semantic-release": "^24.2.1",
5255
"storybook": "^8.5.2",
5356
"tailwindcss": "^3.4.17",

src/global.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
}
7070

7171
.card-transition-inner {
72-
transition: max-height 0.25s 0.1s cubic-bezier(0, 0.55, 0.45, 1),
72+
transition:
73+
max-height 0.25s 0.1s cubic-bezier(0, 0.55, 0.45, 1),
7374
opacity 0.2s ease-in-out;
7475
}
7576

0 commit comments

Comments
 (0)