Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/docs/linter/rules/use-filenaming-convention.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
Loading