You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2022/10/15 21:26:20 UTC

[lucenenet] branch master updated: .editorconfig: Added suppression for CA2249: Consider using String.Contains instead of String.IndexOf

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new 6fc56616a .editorconfig: Added suppression for CA2249: Consider using String.Contains instead of String.IndexOf
6fc56616a is described below

commit 6fc56616a800527dc424dc90a9b5537a2585696a
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sun Oct 16 04:23:21 2022 +0700

    .editorconfig: Added suppression for CA2249: Consider using String.Contains instead of String.IndexOf
---
 .editorconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index 7038aa0c4..0e5748cef 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -164,6 +164,10 @@ dotnet_diagnostic.CA1031.severity = none
 # CA1034: Do not nest types
 dotnet_diagnostic.CA1034.severity = none
 
+#### Usage ####
+# CA2249: Consider using String.Contains instead of String.IndexOf
+dotnet_diagnostic.CA2249.severity=none
+
 
 # Features that require .NET Standard 2.1+