mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-17 15:28:33 +03:00
788ef28769
enable treefmt and commitizen in pre-commit-hooks.nix Along with this, we also: * bump: update nixpkgs of dev flake for pre-commit-hooks.nix to work the older version didn't have cljfmt
15 lines
233 B
Nix
15 lines
233 B
Nix
{ ... }:
|
|
{
|
|
perSystem = { pkgs, lib, ... }: {
|
|
pre-commit = {
|
|
check.enable = true;
|
|
settings = {
|
|
hooks = {
|
|
treefmt.enable = true;
|
|
commitizen.enable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|