From 45f8e2d134e3dd716c5a47d15ab55266cb354ec9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Dec 2023 13:14:59 -0800 Subject: add `treefmt` and `pre-commit-hooks` I can now run `nix fmt` or `nix flake check` to check the syntax for various files in this repository. Fixed a deprecation warning for `hugo`: ``` > WARN The author key in site configuration is deprecated. Use params.author.email instead. > WARN The author key in site configuration is deprecated. Use params.author.name instead. ``` --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 8ec0a90..81e48e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /docs/ /.hugo_build.lock /result +/.pre-commit-config.yaml -- cgit v1.2.3