File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -229,6 +229,11 @@ dotnet_diagnostic.CA2007.severity = warning
229229; Exceptions can be configured in stylecop.json
230230dotnet_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.
234239dotnet_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
290295dotnet_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
296298dotnet_diagnostic.S1144.severity = warning
297299
You can’t perform that action at this time.
0 commit comments