From 5b97a1ec6dadfa921a1cadb5a070b9aa1f97d582 Mon Sep 17 00:00:00 2001 From: yossydev Date: Sun, 25 Feb 2024 22:23:59 +0900 Subject: [PATCH] chore: auto fix by lint --- app/routes/_renderer.tsx | 2 +- app/routes/index.tsx | 2 +- package.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/routes/_renderer.tsx b/app/routes/_renderer.tsx index 9a1c088..595a105 100644 --- a/app/routes/_renderer.tsx +++ b/app/routes/_renderer.tsx @@ -1,8 +1,8 @@ import { Style } from "hono/css"; +import { type FC } from "hono/jsx"; import { jsxRenderer } from "hono/jsx-renderer"; import { Script } from "honox/server"; import { LINK } from "../constants"; -import { type FC } from "hono/jsx"; export default jsxRenderer(({ children, title }) => { return ( diff --git a/app/routes/index.tsx b/app/routes/index.tsx index 11c4186..2ab8efd 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -1,6 +1,6 @@ +import { FC } from "hono/jsx"; import { createRoute } from "honox/factory"; import Counter from "../islands/counter"; -import { FC } from "hono/jsx"; export default createRoute((c) => { const name = c.req.query("name") ?? "Hono"; diff --git a/package.json b/package.json index 1644449..534129d 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "deploy": "$npm_execpath run build && wrangler pages deploy ./dist", "format": "biome format --write .", "lint": "biome lint .", + "lint:fix": "biome check --apply .", "check": "biome check --apply .", "typecheck": "tsc -p . --noEmit" },