aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2025-09-12 21:58:28 +0200
committerGitHub <noreply@github.com>2025-09-12 13:58:28 -0600
commit6796b3435d893fde8c1ae7551f52b1fbb1bc489c (patch)
tree4c0c8a3c2b86a6c879051e849557a3859f5e3587 /.editorconfig
parent8776a447d1c2fc553d24bc1162f27017f84e80bb (diff)
Avoid constant arrays as arguments (#14784)
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index ab5d3d9dd..313b02563 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -294,6 +294,9 @@ dotnet_diagnostic.CA1854.severity = error
# error on CA1860: Avoid using 'Enumerable.Any()' extension method
dotnet_diagnostic.CA1860.severity = error
+# error on CA1861: Avoid constant arrays as arguments
+dotnet_diagnostic.CA1861.severity = error
+
# error on CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons
dotnet_diagnostic.CA1862.severity = error