You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/filename-case.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,9 @@ Enforces all linted files to have their names in a certain case style and lowerc
11
11
12
12
Files named `index.js`, `index.mjs`, `index.cjs`, `index.ts`, `index.tsx`, `index.vue` are ignored as they can't change case (Only a problem with `pascalCase`).
13
13
14
-
Characters in the filename except `a-z`, `A-Z`, `0-9`, `-`, and `_` are ignored.
14
+
Characters other than `a-z`, `A-Z`, `0-9`, `-`, and `_` are ignored for casing and kept as-is in suggested filenames.
15
+
16
+
The filename case check ignores filenames starting with `$`, as they are commonly used for route parameters.
0 commit comments