- We use
deno lint
and deno fmt
to enforce style across the project.
- Prefer a functional style. Never mutate arguments passed into you, instead generate new data.
- For the most part, follow the style rules here: https://github.com/airbnb/javascript
- Always use Harare time
- Use
assert
liberally to ensure that invariants hold
- Naming conventions:
- functions are camelCase
- components are PascalCase
- data is snake_case