Add 'tree-sitter' pre-commit hook
Make sure you don't break anything when committing.
This commit is contained in:
parent
b3e91d9aad
commit
5866cd4a82
|
@ -61,6 +61,13 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tree-sitter = {
|
||||||
|
enable = true;
|
||||||
|
name = "tree-sitter tests";
|
||||||
|
entry = "${pkgs.tree-sitter}/bin/tree-sitter test";
|
||||||
|
pass_filenames = false;
|
||||||
|
};
|
||||||
|
|
||||||
tree-sitter-files = {
|
tree-sitter-files = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "tree-sitter generated files";
|
name = "tree-sitter generated files";
|
||||||
|
|
Loading…
Reference in a new issue