fix: treefmt needs a sequence for dotnet format
This commit is contained in:
parent
a176d8d954
commit
7b98100c20
1 changed files with 2 additions and 2 deletions
|
@ -35,13 +35,13 @@ let
|
||||||
// pkgs.lib.attrsets.optionalAttrs dotnet.format {
|
// pkgs.lib.attrsets.optionalAttrs dotnet.format {
|
||||||
dotnet-format-style = {
|
dotnet-format-style = {
|
||||||
command = "dotnet";
|
command = "dotnet";
|
||||||
options = "format style --include";
|
options = [ "format", "style", "--include" ];
|
||||||
includes = [ "*.cs" ];
|
includes = [ "*.cs" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
dotnet-format-analyzers = {
|
dotnet-format-analyzers = {
|
||||||
command = "dotnet";
|
command = "dotnet";
|
||||||
options = "format analyzers --include";
|
options = [ "format", "analyzers", "--include" ];
|
||||||
includes = [ "*.cs" ];
|
includes = [ "*.cs" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue