Merge "Add treefmt
pre-commit
hook" into main
This commit is contained in:
commit
56c7dfd652
|
@ -329,6 +329,10 @@
|
||||||
stages = [ "commit" ];
|
stages = [ "commit" ];
|
||||||
excludes = [ "^tests/functional/lang/" ];
|
excludes = [ "^tests/functional/lang/" ];
|
||||||
};
|
};
|
||||||
|
treefmt = {
|
||||||
|
enable = true;
|
||||||
|
settings.formatters = [ ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}) pre-commit-hooks.lib;
|
}) pre-commit-hooks.lib;
|
||||||
};
|
};
|
||||||
|
|
1
treefmt.toml
Normal file
1
treefmt.toml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[formatter]
|
Loading…
Reference in a new issue