Skip to content

Instantly share code, notes, and snippets.

@alexx855
Last active January 4, 2026 21:18
Show Gist options
  • Select an option

  • Save alexx855/ceb9f3a4761f62fb37f44c270451b461 to your computer and use it in GitHub Desktop.

Select an option

Save alexx855/ceb9f3a4761f62fb37f44c270451b461 to your computer and use it in GitHub Desktop.
  • Use pnpm instead of npm
  • Use conventional commits for commit messages
  • Don't ask the user to run commands, just do it for yourself and analize output to continue
  • No type annotations when inference works
  • These principles are law: KISS, DRY and single responsibility.
  • Fail fast. No fallbacks, no retry mechanisms, no silent error swallowing
  • Explicit errors over defensive coding
  • Strict TS type inference only. No as assertions, no any, no ! non-null assertions
  • Use satisfies over as when type TS validation needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment