treefmt: also check for yaml files
This commit is contained in:
parent
eecd9f39b9
commit
7dd06e66ef
2 changed files with 34 additions and 31 deletions
|
@ -71,6 +71,9 @@
|
||||||
projectRootFile = "flake.nix";
|
projectRootFile = "flake.nix";
|
||||||
programs.nixfmt.enable = true;
|
programs.nixfmt.enable = true;
|
||||||
programs.stylua.enable = true;
|
programs.stylua.enable = true;
|
||||||
|
programs.yamlfmt.enable = true;
|
||||||
|
# sops does its own formatting
|
||||||
|
settings.formatter.yamlfmt.excludes = [ "secrets/*" ];
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Reference in a new issue