Code Style
TypeScript
- Strict mode is enabled across all packages
- Use
constexclusively — noletorvar - Prefer pure functions and immutable data
- Use explicit return types on exported functions
Formatting
We use Prettier with the following configuration:
Run the formatter:
Linting
ESLint enforces code quality rules:
Naming conventions
Imports
Imports are sorted automatically by the formatter:
- Node.js built-ins
- External packages
- Internal packages (
@acme/*) - Relative imports