treefmt: enable prettier

This commit is contained in:
zowoq 2023-03-13 13:23:27 +10:00
parent 7dd2be51f0
commit a7290b78e8
2 changed files with 12 additions and 0 deletions

3
.gitignore vendored
View file

@ -6,3 +6,6 @@ result-*
.terraform
.terraform.*
/terraform/.direnv
# needed for treefmt
!.github

View file

@ -9,6 +9,8 @@
programs.hclfmt.enable = true;
programs.prettier.enable = true;
settings.formatter = {
nix = {
command = "sh";
@ -31,6 +33,13 @@
];
};
prettier = {
excludes = [
"*.md"
"secrets.yaml"
];
};
python = {
command = "sh";
options = [