You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleanup formatting and style and enforce it in CI (#1380)
* Preparation to enforce formatting and style in CI
- enabled IDE0055 to enforce formatting on build
- disabled SA1137 and SA1025 because they are already
covered by IDE0055
- disabled SA1021 because it conflicts with csharp_space_after_cast
* Cleanup formatting and style on codebase
This commit has no manual changes, it is the result
of running "dotnet format whitespace" and "dotnet format style"
* new formatting fixes after merge
* appveyor: set git autocrlf
as suggested by sharwell to hopefully fix Windows CI.
* use autocrlf input
to hopefully fix Linux tests
* fix formatting
* use autocrlf input for Linux only
* set csharp_space_after_cast to false
* Revert SA1021 suppression
---------
Co-authored-by: Robert Hague <rh@johnstreetcapital.com>
# Removing "unnecessary" parentheses is not always a clear win for readability.
744
755
dotnet_diagnostic.IDE0047.severity = suggestion
745
756
746
-
# IDE0055: Fix formatting
747
-
#
748
-
# When enabled, diagnostics are reported for indented object initializers.
749
-
# For example:
750
-
# _content = new Person
751
-
# {
752
-
# Name = "\u13AAlarm"
753
-
# };
754
-
#
755
-
# There are no settings to configure this correctly, unless https://github.com/dotnet/roslyn/issues/63256 (or similar) is ever implemented.
756
-
dotnet_diagnostic.IDE0055.severity = none
757
-
758
757
# IDE0130: Namespace does not match folder structure
0 commit comments