fix: added whitespace formatter for csharp
This commit is contained in:
parent
673504e221
commit
f378dedc71
1 changed files with 9 additions and 6 deletions
|
@ -33,22 +33,25 @@ let
|
|||
};
|
||||
}
|
||||
// pkgs.lib.attrsets.optionalAttrs dotnet.format {
|
||||
dotnet-format-style = {
|
||||
command = "dotnet";
|
||||
options = [ "format" "style" "--include" ];
|
||||
includes = [ "*.cs" ];
|
||||
};
|
||||
|
||||
dotnet-format-analyzers = {
|
||||
command = "dotnet";
|
||||
options = [ "format" "analyzers" "--include" ];
|
||||
includes = [ "*.cs" ];
|
||||
priority = 2;
|
||||
};
|
||||
|
||||
dotnet-format-style = {
|
||||
command = "dotnet";
|
||||
options = [ "format" "style" "--include" ];
|
||||
includes = [ "*.cs" ];
|
||||
priority = 1;
|
||||
};
|
||||
|
||||
dotnet-format-whitespace = {
|
||||
command = "dotnet";
|
||||
options = [ "format" "whitespace" "--include" ];
|
||||
includes = [ "*.cs" ];
|
||||
priority = 0;
|
||||
};
|
||||
}
|
||||
// pkgs.lib.attrsets.optionalAttrs rust.enable {
|
||||
|
|
Loading…
Reference in a new issue