Configuration examples
Choose a starting point, save its downloadable Pkl file as hk.pkl, and adapt the tools and paths to your project. Each page includes the exact file it offers for download.
| Example | Tools and concepts |
|---|---|
| JavaScript and TypeScript | ESLint, Prettier, and optional TypeScript checking |
| Python | Ruff linting and formatting, plus optional mypy |
| Monorepo | Component groups, inherited defaults, and multiple toolchains |
| Custom steps | Check/fix commands and self-contained step tests |
Install any external tools the example invokes. Then validate and inspect the configuration before installing hooks:
sh
hk validate
hk check --all --plan
hk installFor package environments and editor-launched hooks, see mise integration. For individual properties, see configuration.
