aboutsummaryrefslogtreecommitdiff
path: root/treefmt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'treefmt.nix')
-rw-r--r--treefmt.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/treefmt.nix b/treefmt.nix
index d9dc0e6..2fecfa5 100644
--- a/treefmt.nix
+++ b/treefmt.nix
@@ -6,4 +6,11 @@
yamlfmt.enable = true; # yaml
prettier.enable = true; # css
};
+ settings.formatter = {
+ prettier = {
+ includes = [ "*.css" "*.md" ];
+ excludes = [ "*.html" ];
+ options = [ "-w" ];
+ };
+ };
}