Skip to content

Commit 1c509d3

Browse files
committed
silence some CA recommendations
1 parent 139da1e commit 1c509d3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ dotnet_diagnostic.CS1998.severity = silent
101101
# SYSLIB1045: Convert to 'GeneratedRegexAttribute'.
102102
dotnet_diagnostic.SYSLIB1045.severity = silent
103103

104+
# CA1848: Use the LoggerMessage delegates
105+
dotnet_diagnostic.CA1848.severity = silent
106+
107+
# CA1873: Avoid potentially expensive logging
108+
dotnet_diagnostic.CA1873.severity = silent
109+
110+
# CA1861: Avoid constant arrays as arguments
111+
dotnet_diagnostic.CA1861.severity = silent
112+
104113
[*.md]
105114
trim_trailing_whitespace = false
106115
indent_size = 2

0 commit comments

Comments
 (0)