Skip to content

Commit a7ae27a

Browse files
authored
Enable SA1000: Spacing around keywords (#10446)
* Enable SA1000: Spacing around keywords
1 parent 4ea0feb commit a7ae27a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.editorconfig

+1-2
Original file line numberDiff line numberDiff line change
@@ -1294,8 +1294,7 @@ dotnet_diagnostic.SA0001.severity = none
12941294
dotnet_diagnostic.SA0002.severity = none
12951295

12961296
# SA1000: Spacing around keywords
1297-
# suggestion until https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3478 is resolved
1298-
dotnet_diagnostic.SA1000.severity = suggestion
1297+
dotnet_diagnostic.SA1000.severity = warning
12991298

13001299
# SA1001: Commas should not be preceded by whitespace
13011300
dotnet_diagnostic.SA1001.severity = warning

src/Microsoft.DotNet.Wpf/src/.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ dotnet_diagnostic.IDE0300.severity = suggestion
248248
# IDE1006: Naming Styles
249249
dotnet_diagnostic.IDE1006.severity = suggestion
250250

251+
# SA1000: Spacing around keywords
252+
dotnet_diagnostic.SA1000.severity = suggestion
253+
251254
# SA1400: Member should declare an access modifier
252255
dotnet_diagnostic.SA1400.severity = suggestion
253256

0 commit comments

Comments
 (0)