treefmt: also check for yaml files

This commit is contained in:
cy 2024-12-28 12:03:07 -05:00
parent eecd9f39b9
commit 7dd06e66ef
2 changed files with 34 additions and 31 deletions

View file

@ -71,6 +71,9 @@
projectRootFile = "flake.nix";
programs.nixfmt.enable = true;
programs.stylua.enable = true;
programs.yamlfmt.enable = true;
# sops does its own formatting
settings.formatter.yamlfmt.excludes = [ "secrets/*" ];
}
);
in