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

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Erhardt <eric.erhardt@microsoft.com>2022-07-01 06:54:16 +0300
committerGitHub <noreply@github.com>2022-07-01 06:54:16 +0300
commite5899962f5999da24e3e9c489642566573cf150d (patch)
tree609874f7493d831f6a934ea0dff092e9b65720b7 /eng/CodeAnalysis.src.globalconfig
parent75ca428b6026ebb56ac354af88f92db5b3fdeb7c (diff)
Enable CA1727: Use PascalCase for named placeholders (#71444)
* Enable CA1727: Use PascalCase for named placeholders Also CA2253: Named placeholders should not be numeric values * Fix MonoProxy logging placeholder names
Diffstat (limited to 'eng/CodeAnalysis.src.globalconfig')
-rw-r--r--eng/CodeAnalysis.src.globalconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/eng/CodeAnalysis.src.globalconfig b/eng/CodeAnalysis.src.globalconfig
index a21a9e9ef00..e2c2668d3ea 100644
--- a/eng/CodeAnalysis.src.globalconfig
+++ b/eng/CodeAnalysis.src.globalconfig
@@ -275,7 +275,7 @@ dotnet_diagnostic.CA1724.severity = none
dotnet_diagnostic.CA1725.severity = suggestion
# CA1727: Use PascalCase for named placeholders
-dotnet_diagnostic.CA1727.severity = suggestion
+dotnet_diagnostic.CA1727.severity = warning
# CA1802: Use literals where appropriate
dotnet_diagnostic.CA1802.severity = warning
@@ -572,7 +572,7 @@ dotnet_diagnostic.CA2251.severity = warning
dotnet_diagnostic.CA2252.severity = error
# CA2253: Named placeholders should not be numeric values
-dotnet_diagnostic.CA2253.severity = none
+dotnet_diagnostic.CA2253.severity = warning
# CA2254: Template should be a static expression
dotnet_diagnostic.CA2254.severity = none