Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.globalconfig')
-rw-r--r--.globalconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/.globalconfig b/.globalconfig
new file mode 100644
index 0000000000..96ab34f3f7
--- /dev/null
+++ b/.globalconfig
@@ -0,0 +1,16 @@
+is_global = true
+
+# CA1309: Use ordinal StringComparison
+# https://github.com/dotnet/aspnetcore/pull/30111#issuecomment-777817003
+dotnet_diagnostic.CA1309.severity = suggestion
+
+# CA3076: Insecure XSLT Script Execution
+# Disabled due to crashing: https://github.com/dotnet/roslyn-analyzers/issues/4750
+# Delete the following line when we have a working version.
+dotnet_diagnostic.CA3076.severity = none
+
+# CA1304: Specify CultureInfo
+dotnet_diagnostic.CA1304.severity = error
+
+# CA1310: Specify StringComparison for correctness
+dotnet_diagnostic.CA1310.severity = error