Skip to content

Commit 25215e1

Browse files
committed
Remove redundant rule
1 parent bcd217c commit 25215e1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

build/Neolution.CodeAnalysis.globalconfig

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ dotnet_diagnostic.CA2007.severity = warning
229229
; Exceptions can be configured in stylecop.json
230230
dotnet_diagnostic.SA1412.severity = warning
231231

232+
# S113: Files should contain an empty newline at the end
233+
; Some tools (e.g. Git Diff) work better when files end with an empty line.
234+
dotnet_diagnostic.S113.severity = warning
235+
dotnet_diagnostic.SA1518.severity = none
236+
232237
# S3242: Method parameters should be declared with base types
233238
; False positive with IEnumerable<T> that could lead to multiple enumerations. This should be only applied on Developers discretion.
234239
dotnet_diagnostic.S3242.severity = suggestion
@@ -289,9 +294,6 @@ dotnet_diagnostic.S110.severity = warning
289294
# S1109: A close curly brace should be located at the beginning of a line
290295
dotnet_diagnostic.S1109.severity = warning
291296

292-
# S113: Files should contain an empty newline at the end
293-
dotnet_diagnostic.S113.severity = warning
294-
295297
# S1144: Unused private types or members should be removed
296298
dotnet_diagnostic.S1144.severity = warning
297299

0 commit comments

Comments
 (0)