diff --git a/src/configs/treefmt.nix b/src/configs/treefmt.nix index 47cf484..938a12e 100644 --- a/src/configs/treefmt.nix +++ b/src/configs/treefmt.nix @@ -35,13 +35,13 @@ let // pkgs.lib.attrsets.optionalAttrs dotnet.format { dotnet-format-style = { command = "dotnet"; - options = "format style --include"; + options = [ "format", "style", "--include" ]; includes = [ "*.cs" ]; }; dotnet-format-analyzers = { command = "dotnet"; - options = "format analyzers --include"; + options = [ "format", "analyzers", "--include" ]; includes = [ "*.cs" ]; }; }