Technical Docs
JS/TS Conventions
JavaScript and TypeScript coding conventions. Use when writing any JS/TS code, creating functions, defining variables, handling async operations, structuring exports, naming files, scaffolding components, or choosing styling approaches. Enforces const-by-default, functional patterns, explicit types, DRY principles, no-abbreviation naming, PascalCase component files, camelCase utilities, folder-per-component structure, co-located tests and styles, styled-components with SCSS (never Tailwind or CSS Modules), shared types in types.ts, PascalCase enums, no barrel imports, and displayName on arrow-function components.