Skip to content

Style Guide

Yuxiang Huang edited this page Jan 11, 2026 · 5 revisions

Style Guide

Case Styles

Typescript

variableNames/functionName: camelCase

.tsx file names: PascalCase

.ts files names: camelCase

JSON

File names: kebab-case

Fields: camelCase

Python

Everything: snake_case

Constants: SCREAM_CASE

When importing from classes starting with _, it is an anti pattern if it is not a relative import.

Everything Else

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

Function Declarations

Typescript

Use const over function for function declarations.

const myFunction = () => {
  return "Hello, world!";
};

Special Words

floorplan is one word!

Clone this wiki locally