-
-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Round 2 of analyzer fixes and general cleanup. (#1132)
- Loading branch information
Showing
365 changed files
with
5,146 additions
and
4,206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[*.cs] | ||
|
||
#### SYSLIB diagnostics #### | ||
|
||
# SYSLIB1045: Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time | ||
# | ||
# TODO: Remove this when https://github.com/sshnet/SSH.NET/issues/1131 is implemented. | ||
dotnet_diagnostic.SYSLIB1045.severity = none | ||
|
||
### StyleCop Analyzers rules ### | ||
|
||
#### .NET Compiler Platform analysers rules #### | ||
|
||
# IDE0007: Use var instead of explicit type | ||
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0007 | ||
dotnet_diagnostic.IDE0007.severity = suggestion | ||
|
||
# IDE0028: Use collection initializers | ||
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0028 | ||
dotnet_diagnostic.IDE0028.severity = suggestion | ||
|
||
# IDE0058: Remove unnecessary expression value | ||
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0058 | ||
dotnet_diagnostic.IDE0058.severity = suggestion | ||
|
||
# IDE0059: Remove unnecessary value assignment | ||
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0059 | ||
dotnet_diagnostic.IDE0059.severity = suggestion | ||
|
||
# IDE0230: Use UTF-8 string literal | ||
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0230 | ||
dotnet_diagnostic.IDE0230.severity = suggestion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.