Enable trimming of trailing whitespace as a pre-commit hook

This commit is contained in:
Nicolas Jeannerod 2024-11-20 13:07:03 +01:00
parent fe0c69f6d9
commit 8ad1457763
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
4 changed files with 17 additions and 13 deletions

View file

@ -60,6 +60,10 @@
enable = true; enable = true;
inherit files; inherit files;
}; };
trim-trailing-whitespace = {
enable = true;
inherit files;
};
}; };
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {