From ba0be419a7049e46ed0566e822aac29407824601 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Wed, 7 Aug 2024 12:28:00 -0500 Subject: [PATCH] fix: added whitespace formatter for csharp --- src/configs/treefmt.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/configs/treefmt.nix b/src/configs/treefmt.nix index e7642bc..61ed434 100644 --- a/src/configs/treefmt.nix +++ b/src/configs/treefmt.nix @@ -44,6 +44,12 @@ let options = [ "format" "analyzers" "--include" ]; includes = [ "*.cs" ]; }; + + dotnet-format-analyzers = { + command = "dotnet"; + options = [ "format" "whitespace" "--include" ]; + includes = [ "*.cs" ]; + }; } // pkgs.lib.attrsets.optionalAttrs rust.enable { rust = {