Skip to content

Commit

Permalink
biome check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehesp committed Jul 16, 2024
1 parent ca5a8fb commit a465748
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/src/routes/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Request, Response } from "express";
import { z } from "zod";
import { BundlerError } from "../bundler/error";
import { Bundler, type BundlerOutput } from "../bundler/index";
import { badRequest, ok, bundleError, serverError } from "../res";
import { badRequest, bundleError, ok, serverError } from "../res";

const QuerySchema = z.object({
owner: z
Expand Down
2 changes: 1 addition & 1 deletion api/src/routes/webhooks.github.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type EmitterWebhookEvent, Webhooks } from "@octokit/webhooks";
import type { Request, Response } from "express";
import { Webhooks, type EmitterWebhookEvent } from "@octokit/webhooks";
import { badRequest, ok } from "../res";

import { app, getDomains } from "../octokit";
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"dev": "concurrently \"npm dev:api\" \"yarn npm:website\"",
"dev:api": "cd api && bun dev",
"dev:website": "cd website && npm run dev",
"format": "npx @biomejs/biome format --write",
"lint": "npx @biomejs/biome lint --write"
"check": "npx @biomejs/biome check --write ."
},
"dependencies": {
"typescript": "^5.5.3"
Expand Down
2 changes: 1 addition & 1 deletion website/app/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { cn } from "~/utils";
import { GitHubCard } from "./GitHubCard";
import { Locale } from "./Locale";
import { Logo } from "./Logo";
import { RefBadge } from "./RefBadge";
import { Search } from "./Search";
import { ThemeToggle } from "./Theme";
import { RefBadge } from "./RefBadge";

export function Header() {
const ctx = usePageContext();
Expand Down
2 changes: 1 addition & 1 deletion website/app/routes/$owner.$repository.$/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { Scripts } from "~/components/Scripts";
import { type Context, PageContext } from "~/context";

import docsearch from "@docsearch/css/dist/style.css?url";
import { trackPageRequest } from "~/plausible";
import { ensureLeadingSlash, getAssetSrc } from "~/utils";
import domains from "../../../../domains.json";
import { trackPageRequest } from "~/plausible";

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

0 comments on commit a465748

Please sign in to comment.