mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 12:27:43 +00:00
chore(docs): lint fix (#4827)
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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" }) {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user