Baseline dotfiles and configs for any TypeScript project.
Pairs with house-rules. Conventions live there. The baseline lives here.
Agentic tools scaffold projects in seconds. They don't pick the small, opinionated decisions that make a codebase feel consistent. This repo is that missing layer.
This is a snapshot of choices that work well together right now, not a framework to adopt wholesale. Tooling moves fast, so take what makes sense for your project and leave the rest.
Lift a single config, copy the lot into a new repo, or just read it for the reasoning. When something here stops being the best option, change it. If the change is worth keeping, fold it back in.
- Bun: runtime, package manager, and test runner
- TypeScript: strict config, type-only
tsc --noEmitchecks - Biome: formatter and linter (replaces ESLint + Prettier)
- Husky + lint-staged: git hooks and staged-file checks
- commitlint + commit-and-tag-version: Conventional Commits and changelog/versioning
- Strict, consistent formatting and linting: one tool formats and lints, wired in as the editor default so it runs the same way locally and in CI.
- Reproducible, safer installs: dependencies pin to exact versions, refuse releases younger than 14 days as supply-chain defense, and cache inside the repo so CI caching is trivial.
- Guardrails on every commit: git hooks check staged files, enforce Conventional Commits, and reinstall dependencies after branch switches, merges, and pulls.
- Conventional Commits to automated releases: commit messages drive changelog generation and semantic versioning.
- CI that mirrors local checks: pull requests and pushes to
mainrun the same lint, type-check, and tests you run locally. - Example code: everything under
src/is throwaway demo code. The little money-ledger domain exists only to give the tooling something real to chew on: code to format and lint, types fortscto verify, behavior forbun testto cover. Delete it when you adopt the baseline.