@@ -229,10 +229,17 @@ 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
232+ # S3242: Method parameters should be declared with base types
233+ ; False positive with IEnumerable<T> that could lead to multiple enumerations. This should be only applied on Developers discretion.
234+ dotnet_diagnostic.S3242.severity = suggestion
235+
236+ # S3257: Declarations and initializations should be as concise as possible
237+ ; In some cases developers may prefer the verbosity of a unused parameter over the easier readability of a discard.
238+ dotnet_diagnostic.S3257.severity = suggestion
239+
240+ # S3267: Loops should be simplified with "LINQ" expressions
241+ ; This can be an annoying rule in cases where it does not really improve readability or even worsens it.
242+ dotnet_diagnostic.S3267.severity = suggestion
236243
237244# S107: Methods should not have too many parameters
238245dotnet_diagnostic.S107.severity = warning
@@ -282,6 +289,9 @@ dotnet_diagnostic.S110.severity = warning
282289# S1109: A close curly brace should be located at the beginning of a line
283290dotnet_diagnostic.S1109.severity = warning
284291
292+ # S113: Files should contain an empty newline at the end
293+ dotnet_diagnostic.S113.severity = warning
294+
285295# S1144: Unused private types or members should be removed
286296dotnet_diagnostic.S1144.severity = warning
287297
@@ -408,18 +418,12 @@ dotnet_diagnostic.S3234.severity = error
408418# S3240: The simplest possible condition syntax should be used
409419dotnet_diagnostic.S3240.severity = warning
410420
411- # S3242: Method parameters should be declared with base types
412- dotnet_diagnostic.S3242.severity = warning
413-
414421# S3253: Constructor and destructor declarations should not be redundant
415422dotnet_diagnostic.S3253.severity = warning
416423
417424# S3254: Default parameter values should not be passed as arguments
418425dotnet_diagnostic.S3254.severity = warning
419426
420- # S3257: Declarations and initializations should be as concise as possible
421- dotnet_diagnostic.S3257.severity = warning
422-
423427# S3353: Unchanged local variables should be "const"
424428dotnet_diagnostic.S3353.severity = warning
425429
0 commit comments