15 lines
395 B
Markdown
15 lines
395 B
Markdown
# Shared Configuration
|
|
|
|
Common patterns and conventions shared across the baseline fixture.
|
|
|
|
## Naming Conventions
|
|
|
|
- `camelCase` for variables and functions
|
|
- `PascalCase` for classes, interfaces, and types
|
|
- `UPPER_SNAKE_CASE` for module-level constants
|
|
|
|
## Error Handling
|
|
|
|
- Prefer early return over deep nesting
|
|
- Throw `Error` subclasses with typed messages
|
|
- Never swallow errors silently
|