From c2a72e963789cee034e658b2c54ff557c7c47222 Mon Sep 17 00:00:00 2001 From: Brandon McConnell Date: Wed, 5 Nov 2025 14:21:09 -0500 Subject: [PATCH] feat(use_filenaming_convention): add support for `$` prefix This adds support for TanStack routes which use a dollar sign (`$`) prefix --- src/content/docs/linter/rules/use-filenaming-convention.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/linter/rules/use-filenaming-convention.mdx b/src/content/docs/linter/rules/use-filenaming-convention.mdx index 6bec1d88e..4e4d5d436 100644 --- a/src/content/docs/linter/rules/use-filenaming-convention.mdx +++ b/src/content/docs/linter/rules/use-filenaming-convention.mdx @@ -44,8 +44,8 @@ By default, the rule ensures that the extensions are either in [`camelCase`](htt The rule supports the following exceptions: -- The name of the file can start with a dot or a plus sign, be prefixed and suffixed by underscores `_`. -For example, `.filename.js`, `+filename.js`, `__filename__.js`, or even `.__filename__.js`. +- The name of the file can start with a dot, a plus sign, or a dollar sign, be prefixed and suffixed by underscores `_`. +For example, `.filename.js`, `+filename.js`, `$filename.js`, `__filename__.js`, or even `.__filename__.js`. The convention of prefixing a filename with a plus sign is used by [Sveltekit](https://kit.svelte.dev/docs/routing#page) and [Vike](https://vike.dev/route).