Added new tools for improved DX and DevSecOps:
New Tools Added:
oxlint- Fast JavaScript/TypeScript lintertypos- Fast spell checker for code and docsshellcheck- Shell script lintingactionlint- GitHub Actions workflow validationlefthook- Fast git hooks manager (Go-based alternative to husky)
New Tasks Added:
fmt-check- Check formatting without modifying filessecurity- Run all security checks in one commandsecurity-trufflehog- Scan for secrets/credentialssecurity-snyk- Check dependency vulnerabilitiessecurity-semgrep- SAST security scanningsecurity-dotenv- Lint .env filesspellcheck- Check for typos in codeshellcheck- Lint shell scriptsactionlint- Validate GitHub Actions workflowshooks-install- Install lefthook git hookshooks-run- Manually run pre-commit hooksaudit- Comprehensive security + quality audit
Added convenience scripts that map to mise tasks:
fmt:check- Formatting checksecurity- All security checkssecurity:secrets- Secret scanningsecurity:deps- Dependency vulnerabilitiessecurity:sast- Static security analysissecurity:env- .env file lintingspellcheck- Typo checkingaudit- Full audit
Added caching strategies for new tasks:
fmt:check- Cached based on source filessecurity:*- No cache (always run fresh)spellcheck- Cached based on source filesaudit- No cache, depends on security + spellcheck + check:all
Created:
_typos.toml- Configuration for typos spell checker.trufflehog-exclude.txt- Exclusions for secret scanninglefthook.yml- Git hooks configuration (commented, opt-in)DEV_TOOLS.md- Comprehensive documentation
- Unified Tool Management - All tools managed by mise, no manual installs
- Fast Feedback - Tools like oxlint and typos are extremely fast
- Consistent Environment - Same tool versions across all developers
- Simple Commands -
mise run <task>for everything - Better Documentation - DEV_TOOLS.md provides clear guidance
- Secret Detection - TruffleHog scans for leaked credentials
- Dependency Scanning - Snyk checks for vulnerable dependencies
- SAST - Semgrep performs static security analysis
- Configuration Validation - dotenv-linter checks .env files
- CI/CD Ready - All tools work in pipelines
- Spell Checking - Typos catches typos in code/docs (very fast)
- Shell Script Linting - Shellcheck validates bash/zsh scripts
- Workflow Validation - Actionlint checks GitHub Actions
# Start working
mise run dev
# Before committing
mise run check-all
# Run security audit
mise run audit# Full security scan
mise run security
# Individual scans
mise run security-trufflehog # Secrets
mise run security-snyk # Dependencies
mise run security-semgrep # SAST
mise run security-dotenv # .env files# Spell check
mise run spellcheck
# Shell scripts
mise run shellcheck
# GitHub workflows
mise run actionlintLefthook is faster and more feature-rich than husky:
- Edit
lefthook.yml- Uncomment the hooks you want - Run
mise run hooks-install - Remove
"prepare": "husky"from package.json - Optional: Remove husky dependency
Benefits of lefthook:
- 10x faster than husky (written in Go)
- Parallel execution of hooks
- Skip options for specific scenarios
- Better error handling
-
Install New Tools:
mise install
-
Test Security Scans:
mise run security
-
Try Audit:
mise run audit
-
Update CI/CD: Add security and audit tasks to your CI pipeline
-
Team Onboarding: Share
DEV_TOOLS.mdwith team members
- typos - Checks entire codebase in < 100ms
- oxlint - 50-100x faster than ESLint
- lefthook - 10x faster than husky
- mise - Parallel task execution with
mise run - turbo - Intelligent caching for repeated tasks
All tools are:
- ✅ macOS compatible
- ✅ Linux compatible
- ✅ Windows compatible (via WSL)
- ✅ CI/CD compatible
- ✅ VS Code integrated
All tools can be customized:
_typos.toml- Add project-specific words.trufflehog-exclude.txt- Exclude files from secret scanninglefthook.yml- Configure git hookssemgrep.yml- Add custom security rulesmise.toml- Modify tasks and tool versions