Skip to content
Zoos GlobalZoos GlobalZoos EngineeringHub

Coding Standards

Guidelines for code quality, formatting, and reviews at Zoos Global.

stableGuideintermediatestandardscode-reviewquality
1 min readUpdated Jul 24, 2026@platform-teamPlatform Engineering
Edit source

We enforce these standards to ensure our codebase remains clean, readable, and maintainable.

  • Use TypeScript for all new projects.
  • Set strict: true in your tsconfig.json.
  • Avoid the use of any; prefer unknown or define explicit interfaces/types.
  • Use async/await syntax over raw Promise chain callbacks.
  • Format code strictly with gofmt and goimports.
  • Handle all errors explicitly. Do not ignore errors with _.
  • Keep functions short and highly focused.

All projects must use Prettier for formatting and ESLint (or language-equivalent linter) for static analysis. Linter checks are run automatically on commit hook (via Husky) and in our CI/CD pipelines.

All changes must go through a code review via a GitHub Pull Request.

  • Does the code adhere to the architectural standards?
  • Are there unit tests covering edge cases?
  • Are secrets or API keys accidentally exposed in the code?
  • Is there documentation updated for public APIs or breaking changes?