Ver código fonte

Update global.json (#1240)

Rob Hague 1 ano atrás
pai
commit
58284d6019
2 arquivos alterados com 8 adições e 1 exclusões
  1. 7 0
      .editorconfig
  2. 1 1
      global.json

+ 7 - 0
.editorconfig

@@ -557,6 +557,13 @@ dotnet_diagnostic.CA2208.severity = none
 
 #### Roslyn IDE analyser rules ####
 
+# IDE0028: Simplify collection initialization; and
+# IDE0305: Simplify collection initialization
+#
+# Temporarily suppressing collection expression recommendations coming from .NET 8 SDK
+dotnet_diagnostic.IDE0028.severity = none
+dotnet_diagnostic.IDE0305.severity = none
+
 # IDE0032: Use auto-implemented property
 #
 # For performance reasons, we do not always want to enforce the use of

+ 1 - 1
global.json

@@ -1,6 +1,6 @@
 {
   "sdk": {
     "version": "7.0.403",
-    "rollForward": "disable"
+    "rollForward": "latestMajor"
   }
 }