Enable SA1006: Preprocessor keywords should not be preceded by space (#14052)

https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1006.md
This commit is contained in:
xtqqczze 2020-11-21 15:00:23 +00:00 committed by GitHub
parent ca21c7cdbc
commit 7dee446324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1029,7 +1029,7 @@ dotnet_diagnostic.SA1004.severity = none
dotnet_diagnostic.SA1005.severity = none
# SA1006: Preprocessor keywords should not be preceded by space
dotnet_diagnostic.SA1006.severity = none
dotnet_diagnostic.SA1006.severity = warning
# SA1007: Operator keyword should be followed by space
dotnet_diagnostic.SA1007.severity = warning

View file

@ -391,7 +391,7 @@ namespace Microsoft.WSMan.Management
#endregion parameter
# region private
#region private
private WSManHelper helper;
private string GetFilter()