SKILL: Fastest Bun Tooling (Baked-in)
This template is pre-configured with the Oxc tooling stack for near-instant developer feedback.
🛠 Tooling Stack
- •Runtime: Bun
- •Linter:
oxlint(10-100x faster than ESLint) - •Formatter:
oxfmt(Ultra-fast, Prettier-compatible) - •Typecheck:
tsgo(Native TypeScript diagnostics)
🚀 Quality Gates
Always run these commands to ensure code quality:
- •
bun run check: Full validation (Typecheck + Lint + Format check). - •
bun run fix: Auto-fix all linting and formatting issues. - •
bun run check:fast: Quick check (Lint + Format) for rapid iteration.
⚙️ Editor Integration (VS Code)
The project includes .vscode/settings.json which:
- •Enables
tsgofor instant error highlighting. - •Automatically formats and fixes lint issues on save.
📋 Best Practices
- •Never use
var: The linter will block it. - •Minimize
any: Flagged as a warning to encourage better typing. - •Use Bun Primitives: Prefer
Bun.file,Bun.serve, etc., over Node.js modules. - •Pre-commit Check: If using Git, ensure
bun run checkpasses before pushing.