Merge "Add treefmt pre-commit hook" into main

This commit is contained in:
Rebecca Turner 2024-04-03 00:09:09 +00:00 committed by Gerrit Code Review
commit f4682b12f6
2 changed files with 5 additions and 0 deletions

View file

@ -329,6 +329,10 @@
stages = [ "commit" ];
excludes = [ "^tests/functional/lang/" ];
};
treefmt = {
enable = true;
settings.formatters = [ ];
};
};
}) pre-commit-hooks.lib;
};

1
treefmt.toml Normal file
View file

@ -0,0 +1 @@
[formatter]