From 036169b38bcfc9b49564d5290bdb3fcd7cf6660d Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 22 Sep 2025 16:42:14 -0700 Subject: [PATCH] chore(docs): lint fix (#4827) --- docs/components/endpoint.tsx | 2 -- docs/components/nav-mobile.tsx | 3 +-- package.json | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/components/endpoint.tsx b/docs/components/endpoint.tsx index 5bc5e766a6..5aff3048ff 100644 --- a/docs/components/endpoint.tsx +++ b/docs/components/endpoint.tsx @@ -1,7 +1,5 @@ "use client"; -import { Check, Copy } from "lucide-react"; import { cn } from "@/lib/utils"; -import { Button } from "./ui/button"; import { useState } from "react"; function Method({ method }: { method: "POST" | "GET" | "DELETE" | "PUT" }) { diff --git a/docs/components/nav-mobile.tsx b/docs/components/nav-mobile.tsx index 2da2c3f44f..a75d7f15fa 100644 --- a/docs/components/nav-mobile.tsx +++ b/docs/components/nav-mobile.tsx @@ -1,5 +1,5 @@ "use client"; -import { ChevronRight, Menu, Search } from "lucide-react"; +import { ChevronRight, Menu } from "lucide-react"; import Link from "next/link"; import { Fragment, createContext, useContext, useState } from "react"; import { @@ -11,7 +11,6 @@ import { import { contents, examples } from "./sidebar-content"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; -import { useSearchContext } from "fumadocs-ui/provider"; interface NavbarMobileContextProps { isOpen: boolean; diff --git a/package.json b/package.json index 0cb60a582b..0ff38929e8 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "clean": "turbo --filter \"./packages/*\" clean && rm -rf node_modules", "format": "biome format . --write", "lint": "biome check .", - "lint:fix": "biome check . --fix", + "lint:fix": "biome check . --fix --unsafe", "release": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --no-git-checks", "release:no-build": "bumpp && pnpm -r publish --access public --no-git-checks --tag next", "release:canary": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --tag canary --no-git-checks",