build: migrate workspace tooling to Oxc
Replace Turbo task orchestration with Bun workspace scripts and remove the Prettier configuration. Add Oxlint and Oxfmt project configuration, including Tailwind class sorting, generated-file exclusions, and unified check/fix commands. Apply the new formatter and resolve Hook dependency errors surfaced by Oxlint.
This commit is contained in:
@@ -58,16 +58,16 @@ function TooltipContent({
|
||||
}: TooltipContentProps) {
|
||||
const usesAnchoredSurface = Boolean(showArrow)
|
||||
const anchoredSurfaceProps:
|
||||
Omit<AnchoredSurfaceProps, "children" | "render"> | undefined =
|
||||
usesAnchoredSurface
|
||||
? {
|
||||
borderWidth: 0,
|
||||
cornerRadius: "sm",
|
||||
pathClassName: "fill-foreground",
|
||||
tailSize: "sm",
|
||||
...(typeof showArrow === "object" ? showArrow : undefined),
|
||||
}
|
||||
: undefined
|
||||
| Omit<AnchoredSurfaceProps, "children" | "render">
|
||||
| undefined = usesAnchoredSurface
|
||||
? {
|
||||
borderWidth: 0,
|
||||
cornerRadius: "sm",
|
||||
pathClassName: "fill-foreground",
|
||||
tailSize: "sm",
|
||||
...(typeof showArrow === "object" ? showArrow : undefined),
|
||||
}
|
||||
: undefined
|
||||
const resolvedSideOffset =
|
||||
sideOffset ?? (usesAnchoredSurface ? getAnchoredSurfaceSideOffset : 4)
|
||||
const resolvedArrowPadding =
|
||||
|
||||
Reference in New Issue
Block a user