chore(web): apply prettier 3.8 + Next 16 tsconfig auto-formatting

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.
This commit is contained in:
YeonGyu-Kim
2026-05-08 14:08:06 +09:00
parent e5eda117be
commit dff2acf38a
3 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -21,8 +21,7 @@ const badgeVariants = cva(
) )
export interface BadgeProps export interface BadgeProps
extends React.HTMLAttributes<HTMLSpanElement>, extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {}
VariantProps<typeof badgeVariants> {}
function Badge({ className, variant, ...props }: BadgeProps) { function Badge({ className, variant, ...props }: BadgeProps) {
return <span className={cn(badgeVariants({ variant }), className)} {...props} /> return <span className={cn(badgeVariants({ variant }), className)} {...props} />
+1 -2
View File
@@ -32,8 +32,7 @@ const buttonVariants = cva(
) )
export interface ButtonProps export interface ButtonProps
extends React.ButtonHTMLAttributes<HTMLButtonElement>, extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
VariantProps<typeof buttonVariants> {
asChild?: boolean asChild?: boolean
} }
+1 -1
View File
@@ -11,7 +11,7 @@
"moduleResolution": "bundler", "moduleResolution": "bundler",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "preserve", "jsx": "react-jsx",
"incremental": true, "incremental": true,
"noUncheckedIndexedAccess": true, "noUncheckedIndexedAccess": true,
"noUnusedLocals": true, "noUnusedLocals": true,