Skip to content

Style Guides

Yuxiang Huang edited this page Feb 5, 2026 · 15 revisions

Typescript

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-style rule.

JSON

file names: kebab-case

fields: camelCase

GitHub Branch Name

username/feature-name

Everything Else

kebab-case: (image-name, folder-name)

Clone this wiki locally