From dff2acf38a784576105bea86a48344f90a25d708 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 8 May 2026 14:08:06 +0900 Subject: [PATCH] chore(web): apply prettier 3.8 + Next 16 tsconfig auto-formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Side effects from `bun run format` (prettier 3.8) and `bun run build` (Next 16) that I missed in the prior commit: - web/components/ui/badge.tsx, web/components/ui/button.tsx: prettier 3.8 inlines short interface `extends` lists onto a single line. - web/tsconfig.json: Next 16's build step auto-modernizes tsconfig: `jsx: "preserve"` → `jsx: "react-jsx"` and reformats `lib`/`paths` arrays to multi-line. Build is identical either way; committing the modernized shape so subsequent `next build` runs do not produce spurious diffs. --- web/components/ui/badge.tsx | 3 +-- web/components/ui/button.tsx | 3 +-- web/tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/web/components/ui/badge.tsx b/web/components/ui/badge.tsx index 9b7e80309..744971268 100644 --- a/web/components/ui/badge.tsx +++ b/web/components/ui/badge.tsx @@ -21,8 +21,7 @@ const badgeVariants = cva( ) export interface BadgeProps - extends React.HTMLAttributes, - VariantProps {} + extends React.HTMLAttributes, VariantProps {} function Badge({ className, variant, ...props }: BadgeProps) { return diff --git a/web/components/ui/button.tsx b/web/components/ui/button.tsx index b7fe8fc82..d2d3c4fbb 100644 --- a/web/components/ui/button.tsx +++ b/web/components/ui/button.tsx @@ -32,8 +32,7 @@ const buttonVariants = cva( ) export interface ButtonProps - extends React.ButtonHTMLAttributes, - VariantProps { + extends React.ButtonHTMLAttributes, VariantProps { asChild?: boolean } diff --git a/web/tsconfig.json b/web/tsconfig.json index 0ad729080..c74d523e0 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -11,7 +11,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "incremental": true, "noUncheckedIndexedAccess": true, "noUnusedLocals": true,