From 482b8abfa7cf339f6000763dd0997aa15e4e3d15 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Tue, 7 Jan 2025 23:43:00 -0600 Subject: [PATCH] fix: tweaking treefmt --- src/configs/treefmt.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/configs/treefmt.nix b/src/configs/treefmt.nix index 0f5eea7..dd94d00 100644 --- a/src/configs/treefmt.nix +++ b/src/configs/treefmt.nix @@ -1,6 +1,9 @@ inputs @ { pkgs, dotnet, rust, ... }: let data = { + allow-missing-formatter = true; + on-unmatched = "debug"; + formatter = { nix = { command = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt"; @@ -9,7 +12,7 @@ let prettier = { command = "${pkgs.nodePackages.prettier}/bin/prettier"; - options = [ "--write" "--log-level" "error" ]; + options = [ "--write" ]; includes = [ "*.css" "*.html"