Add 'tree-sitter' pre-commit hook
Make sure you don't break anything when committing.
This commit is contained in:
parent
b3e91d9aad
commit
5866cd4a82
1 changed files with 7 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue