-
Notifications
You must be signed in to change notification settings - Fork 12
Style Guide
Yuxiang Huang edited this page Jan 11, 2026
·
5 revisions
variableNames/functionName: camelCase
.tsx file names: PascalCase
.ts files names: camelCase
File names: kebab-case
Fields: camelCase
Everything: snake_case
Constants: SCREAM_CASE
When importing from modules whose names start with an underscore, it is considered an anti‑pattern if the import is not relative within the same package, since such modules are meant to be private implementation details.
kebab-case: (github-branch-name, image-name, folder-name)
Use const over function for function declarations.
const myFunction = () => {
return "Hello, world!";
};floorplan is one word!