Compare commits
2 commits
ba0be419a7
...
f378dedc71
Author | SHA1 | Date | |
---|---|---|---|
f378dedc71 | |||
673504e221 |
1 changed files with 10 additions and 7 deletions
|
@ -33,22 +33,25 @@ let
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// pkgs.lib.attrsets.optionalAttrs dotnet.format {
|
// pkgs.lib.attrsets.optionalAttrs dotnet.format {
|
||||||
dotnet-format-style = {
|
|
||||||
command = "dotnet";
|
|
||||||
options = [ "format" "style" "--include" ];
|
|
||||||
includes = [ "*.cs" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
dotnet-format-analyzers = {
|
dotnet-format-analyzers = {
|
||||||
command = "dotnet";
|
command = "dotnet";
|
||||||
options = [ "format" "analyzers" "--include" ];
|
options = [ "format" "analyzers" "--include" ];
|
||||||
includes = [ "*.cs" ];
|
includes = [ "*.cs" ];
|
||||||
|
priority = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
dotnet-format-analyzers = {
|
dotnet-format-style = {
|
||||||
|
command = "dotnet";
|
||||||
|
options = [ "format" "style" "--include" ];
|
||||||
|
includes = [ "*.cs" ];
|
||||||
|
priority = 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
dotnet-format-whitespace = {
|
||||||
command = "dotnet";
|
command = "dotnet";
|
||||||
options = [ "format" "whitespace" "--include" ];
|
options = [ "format" "whitespace" "--include" ];
|
||||||
includes = [ "*.cs" ];
|
includes = [ "*.cs" ];
|
||||||
|
priority = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// pkgs.lib.attrsets.optionalAttrs rust.enable {
|
// pkgs.lib.attrsets.optionalAttrs rust.enable {
|
||||||
|
|
Loading…
Reference in a new issue