diff options
author | rebecca “wiggles” turner <rbt@sent.as> | 2024-04-03 00:09:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix> | 2024-04-03 00:09:09 +0000 |
commit | 56c7dfd65290dea957de6fad4e2df26f1630e407 (patch) | |
tree | 94423d1f92d5526d50661f85a65dad0a05d1496d | |
parent | fa4a0fc6a4bef9c9bbf5e66894aadb1cb2e7ddc7 (diff) | |
parent | 655dae03deaba8b74076230119b211ca19757b5d (diff) |
Merge "Add `treefmt` `pre-commit` hook" into main
-rw-r--r-- | flake.nix | 4 | ||||
-rw-r--r-- | treefmt.toml | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -329,6 +329,10 @@ stages = [ "commit" ]; excludes = [ "^tests/functional/lang/" ]; }; + treefmt = { + enable = true; + settings.formatters = [ ]; + }; }; }) pre-commit-hooks.lib; }; diff --git a/treefmt.toml b/treefmt.toml new file mode 100644 index 000000000..81df72cc2 --- /dev/null +++ b/treefmt.toml @@ -0,0 +1 @@ +[formatter] |