Add some more formatters to treefmt, reformat repo
This commit is contained in:
parent
34319c95fe
commit
cc57e16c87
20
treefmt.nix
20
treefmt.nix
|
@ -1,5 +1,23 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
projectRootFile = "flake.nix";
|
projectRootFile = "flake.nix";
|
||||||
programs.nixfmt.enable = true;
|
programs = {
|
||||||
|
nixfmt.enable = true;
|
||||||
|
prettier.enable = true;
|
||||||
|
shfmt.enable = true;
|
||||||
|
};
|
||||||
|
settings.global.excludes = [
|
||||||
|
"*.png"
|
||||||
|
"*.jpg"
|
||||||
|
"*.gif"
|
||||||
|
"*.conf"
|
||||||
|
"*.toml"
|
||||||
|
"*.org"
|
||||||
|
"*.lisp"
|
||||||
|
"*.sty"
|
||||||
|
"Makefile"
|
||||||
|
"system/kanata.kbd"
|
||||||
|
"system/home/email/davmail.properties"
|
||||||
|
"system/home/email/signatures/*"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue