Skip to content

Commit a465748

Browse files
committed
biome check
1 parent ca5a8fb commit a465748

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

api/src/routes/bundle.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Request, Response } from "express";
22
import { z } from "zod";
33
import { BundlerError } from "../bundler/error";
44
import { Bundler, type BundlerOutput } from "../bundler/index";
5-
import { badRequest, ok, bundleError, serverError } from "../res";
5+
import { badRequest, bundleError, ok, serverError } from "../res";
66

77
const QuerySchema = z.object({
88
owner: z

api/src/routes/webhooks.github.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { type EmitterWebhookEvent, Webhooks } from "@octokit/webhooks";
12
import type { Request, Response } from "express";
2-
import { Webhooks, type EmitterWebhookEvent } from "@octokit/webhooks";
33
import { badRequest, ok } from "../res";
44

55
import { app, getDomains } from "../octokit";

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"dev": "concurrently \"npm dev:api\" \"yarn npm:website\"",
55
"dev:api": "cd api && bun dev",
66
"dev:website": "cd website && npm run dev",
7-
"format": "npx @biomejs/biome format --write",
8-
"lint": "npx @biomejs/biome lint --write"
7+
"check": "npx @biomejs/biome check --write ."
98
},
109
"dependencies": {
1110
"typescript": "^5.5.3"

website/app/components/Header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { cn } from "~/utils";
33
import { GitHubCard } from "./GitHubCard";
44
import { Locale } from "./Locale";
55
import { Logo } from "./Logo";
6+
import { RefBadge } from "./RefBadge";
67
import { Search } from "./Search";
78
import { ThemeToggle } from "./Theme";
8-
import { RefBadge } from "./RefBadge";
99

1010
export function Header() {
1111
const ctx = usePageContext();

website/app/routes/$owner.$repository.$/route.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import { Scripts } from "~/components/Scripts";
1111
import { type Context, PageContext } from "~/context";
1212

1313
import docsearch from "@docsearch/css/dist/style.css?url";
14+
import { trackPageRequest } from "~/plausible";
1415
import { ensureLeadingSlash, getAssetSrc } from "~/utils";
1516
import domains from "../../../../domains.json";
16-
import { trackPageRequest } from "~/plausible";
1717

1818
export const loader = async (args: LoaderFunctionArgs) => {
1919
const owner = args.params.owner;

0 commit comments

Comments
 (0)