forked from lix-project/lix
Add treefmt
pre-commit
hook
This lets us use different formatters for different filetypes.
Change-Id: Ib52383dd5097c8919a65e299aca2b5a55412223c
This commit is contained in:
parent
2a98ba8b97
commit
655dae03de
|
@ -331,6 +331,10 @@
|
|||
stages = [ "commit" ];
|
||||
excludes = [ "^tests/functional/lang/" ];
|
||||
};
|
||||
treefmt = {
|
||||
enable = true;
|
||||
settings.formatters = [ ];
|
||||
};
|
||||
};
|
||||
}) pre-commit-hooks.lib;
|
||||
};
|
||||
|
|
1
treefmt.toml
Normal file
1
treefmt.toml
Normal file
|
@ -0,0 +1 @@
|
|||
[formatter]
|
Loading…
Reference in a new issue