fix: exclude generated route tree file from Biome linting

This commit is contained in:
2026-03-04 14:27:55 -06:00
parent b3970b04ab
commit 13819410c5
2 changed files with 4 additions and 5 deletions

View File

@@ -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<FileRouteTypes>()
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