From 13819410c54bb606da6507e535d6fe746d83abc9 Mon Sep 17 00:00:00 2001 From: SrJuggernaut Date: Wed, 4 Mar 2026 14:27:55 -0600 Subject: [PATCH] fix: exclude generated route tree file from Biome linting --- biome.json | 2 +- src/routeTree.gen.ts | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/biome.json b/biome.json index 64cab14..1dd3bb0 100644 --- a/biome.json +++ b/biome.json @@ -7,7 +7,7 @@ }, "files": { "ignoreUnknown": true, - "includes": ["**", "!!node_modules", "!!bun.lock"] + "includes": ["**", "!!node_modules", "!!bun.lock", "!!src/routeTree.gen.ts"] }, "formatter": { "enabled": true, diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index f2cf0a9..dceedff 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -14,7 +14,7 @@ import { Route as IndexRouteImport } from './routes/index' const IndexRoute = IndexRouteImport.update({ id: '/', path: '/', - getParentRoute: () => rootRouteImport + getParentRoute: () => rootRouteImport, } as any) export interface FileRoutesByFullPath { @@ -52,15 +52,14 @@ declare module '@tanstack/react-router' { } const rootRouteChildren: RootRouteChildren = { - IndexRoute: IndexRoute + IndexRoute: IndexRoute, } export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes() -import type { createStart } from '@tanstack/react-start' import type { getRouter } from './router.tsx' - +import type { createStart } from '@tanstack/react-start' declare module '@tanstack/react-start' { interface Register { ssr: true