Skip to content

Commit 095c11a

Browse files
chore(router-generator): include biome-ignore-all suppression comment in generated header and update snapshots
1 parent 76dc565 commit 095c11a

File tree

28 files changed

+55
-0
lines changed

28 files changed

+55
-0
lines changed

packages/router-generator/src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const baseConfigSchema = z.object({
2121
'/* eslint-disable */',
2222
'// @ts-nocheck',
2323
'// noinspection JSUnusedGlobalSymbols',
24+
'// biome-ignore-all lint: generated file',
2425
]),
2526
indexToken: z.string().optional().default('index'),
2627
routeToken: z.string().optional().default('route'),

packages/router-generator/tests/generator/custom-scaffolding/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/custom-tokens/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/dot-escaped/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/export-variations/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/file-modification-verboseFileRoutes-false/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/file-modification-verboseFileRoutes-true/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/flat/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/nested-layouts/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

packages/router-generator/tests/generator/nested-route-groups-with-layouts-before-physical/routeTree.snapshot.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// noinspection JSUnusedGlobalSymbols
66

7+
// biome-ignore-all lint: generated file
8+
79
// This file was automatically generated by TanStack Router.
810
// You should NOT make any changes in this file as it will be overwritten.
911
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

0 commit comments

Comments
 (0)