-
Notifications
You must be signed in to change notification settings - Fork 1
Style Guides
Yuxiang Huang edited this page Feb 5, 2026
·
15 revisions
variableNames/functionName: camelCase
constants: SCREAM_CASE
.tsx file names: PascalCase
.ts files names: camelCase
functions: use function declarations instead of const.
- This enables function hoisting, which is required by TanStack Router.
- This style can be enforced automatically after Biome implements the
func-stylerule.- See this GitHub issue and this Github discussion.
file names: kebab-case
fields: camelCase
username/feature-name
kebab-case: (image-name, folder-name)