Repository navigation
Replies: 1 comment
|
Thanks for the request and for sharing your configs! #1898 adds three builtins:
hooks {
["pre-commit"] {
steps {
["keep-sorted"] = Builtins.keep_sorted
["cspell"] = Builtins.cspell
}
}
["commit-msg"] {
steps {
["cspell"] = Builtins.cspell_commit_message
}
}
}hk already covers many treefmt-nix programs, but about 90 have no builtin yet. If there are specific ones you used, list them here and we can prioritize those. AI-assisted — Tool: Claude Code; model: anthropic/claude-opus-5-5; version: unavailable. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Would be nice to have
keep-sortedandcspellas builtins.This is how I have been using it:
https://github.com/google/keep-sorted
https://cspell.org/docs/getting-started
Before using hk, I was using nix + treefmt +prek to lint & format my files.
Would be cool to have some of them ported over - https://github.com/numtide/treefmt-nix
All reactions