Add 'tree-sitter' pre-commit hook

Make sure you don't break anything when committing.
This commit is contained in:
Bruno BELANYI 2022-06-02 17:04:32 +02:00
parent b3e91d9aad
commit 5866cd4a82

View file

@ -61,6 +61,13 @@
enable = true;
};
tree-sitter = {
enable = true;
name = "tree-sitter tests";
entry = "${pkgs.tree-sitter}/bin/tree-sitter test";
pass_filenames = false;
};
tree-sitter-files = {
enable = true;
name = "tree-sitter generated files";