about summary refs log tree commit diff
path: root/.gitignore
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-03 13:14:59 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-03 13:14:59 -0800
commit45f8e2d134e3dd716c5a47d15ab55266cb354ec9 (patch)
treebfb29152a651e6693bce077620b2760e3de38cda /.gitignore
parentchore: update flake (#12) (diff)
downloadfcuny.net-45f8e2d134e3dd716c5a47d15ab55266cb354ec9.tar.gz
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.
```
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
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