소스 검색

Moved IDE0005 warning configuration. (#1329)

Jean-Sebastien Carle 1 년 전
부모
커밋
f8b3ef30fc
3개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      src/Renci.SshNet/.editorconfig
  2. 4 0
      src/Renci.SshNet/Security/BouncyCastle/.editorconfig
  3. 4 0
      src/Renci.SshNet/Security/Chaos.NaCl/.editorconfig

+ 0 - 4
src/Renci.SshNet/.editorconfig

@@ -159,7 +159,3 @@ dotnet_diagnostic.IDE0048.severity = none
 # IDE0305: Collection initialization can be simplified
 # https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0305
 dotnet_diagnostic.IDE0305.severity = none
-
-# IDE0005: Remove unnecessary using directives
-# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005
-dotnet_diagnostic.IDE0005.severity = suggestion

+ 4 - 0
src/Renci.SshNet/Security/BouncyCastle/.editorconfig

@@ -4,3 +4,7 @@ generated_code = true
 
 # Do not reported any diagnostics for "imported" code
 dotnet_analyzer_diagnostic.severity = none
+
+# IDE0005: Remove unnecessary using directives
+# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005
+dotnet_diagnostic.IDE0005.severity = none

+ 4 - 0
src/Renci.SshNet/Security/Chaos.NaCl/.editorconfig

@@ -4,3 +4,7 @@ generated_code = true
 
 # Do not reported any diagnostics for "imported" code
 dotnet_analyzer_diagnostic.severity = none
+
+# IDE0005: Remove unnecessary using directives
+# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005
+dotnet_diagnostic.IDE0005.severity = none