1推荐信号
1讨论来源
2025-02-18最近提及
为什么 HN 用户提到它?
自动整理的讨论摘录,保留原始英文。阅读原文了解完整语境。
I use https://github.com/cachix/git-hooks.nix https://github.com/cachix/git-hooks.nix which provides all of it: - Pre-commit hook setup - Run locally anytime (`pre-commit run -a`) - Check in CI (as Nix flake check) Example repo: https://github.com/srid/haskell-template https://github.com/srid/haskell-template The pre-commit configuration: https://github.com/srid/haskell-template/blob/master/nix/mod...阅读完整讨论