chore(docs): lint fix (#4827)

This commit is contained in:
Alex Yang
2025-09-22 16:42:14 -07:00
committed by GitHub
parent 10e509c9d0
commit fa12a008aa
4 changed files with 3 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ import {
} from "@/components/ui/dialog"; } from "@/components/ui/dialog";
import { Textarea } from "@/components/ui/textarea"; import { Textarea } from "@/components/ui/textarea";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
import { Send, Loader2, Bot, User, AlertCircle } from "lucide-react"; import { Send, Bot, User, AlertCircle } from "lucide-react";
import { MarkdownRenderer } from "./markdown-renderer"; import { MarkdownRenderer } from "./markdown-renderer";
import { betterFetch } from "@better-fetch/fetch"; import { betterFetch } from "@better-fetch/fetch";
import { atom } from "jotai"; import { atom } from "jotai";

View File

@@ -1,7 +1,5 @@
"use client"; "use client";
import { Check, Copy } from "lucide-react";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
import { Button } from "./ui/button";
import { useState } from "react"; import { useState } from "react";
function Method({ method }: { method: "POST" | "GET" | "DELETE" | "PUT" }) { function Method({ method }: { method: "POST" | "GET" | "DELETE" | "PUT" }) {

View File

@@ -1,5 +1,5 @@
"use client"; "use client";
import { ChevronRight, Menu, Search } from "lucide-react"; import { ChevronRight, Menu } from "lucide-react";
import Link from "next/link"; import Link from "next/link";
import { Fragment, createContext, useContext, useState } from "react"; import { Fragment, createContext, useContext, useState } from "react";
import { import {
@@ -11,7 +11,6 @@ import {
import { contents, examples } from "./sidebar-content"; import { contents, examples } from "./sidebar-content";
import { usePathname } from "next/navigation"; import { usePathname } from "next/navigation";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
import { useSearchContext } from "fumadocs-ui/provider";
interface NavbarMobileContextProps { interface NavbarMobileContextProps {
isOpen: boolean; isOpen: boolean;

View File

@@ -11,7 +11,7 @@
"clean": "turbo --filter \"./packages/*\" clean && rm -rf node_modules", "clean": "turbo --filter \"./packages/*\" clean && rm -rf node_modules",
"format": "biome format . --write", "format": "biome format . --write",
"lint": "biome check .", "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": "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: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", "release:canary": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --tag canary --no-git-checks",