Skip to content

Commit 4955e78

Browse files
committed
use the suggested way to remove the pre-commit hook being generated.
1 parent 85dd983 commit 4955e78

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

nix/automation/configs.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ in {
4141
# };
4242
# };
4343
# };
44-
#pre-commit = {
45-
# commands = {
46-
# treefmt = {
47-
# run = "${nixpkgs.treefmt}/bin/treefmt --fail-on-change {staged_files}";
48-
# };
49-
# };
50-
#};
44+
pre-commit = {
45+
commands = {
46+
treefmt = {
47+
run = "${nixpkgs.treefmt}/bin/treefmt --fail-on-change {staged_files}";
48+
};
49+
};
50+
};
5151
};
5252
};
5353
prettier =

nix/automation/devshells.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
PROTOC_INCLUDE = "${protobuf}/include";
2020
};
2121
nixago = [
22-
cell.configs.lefthook
22+
# cell.configs.lefthook
2323
cell.configs.prettier
2424
cell.configs.treefmt
2525
];

0 commit comments

Comments
 (0)