File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed
Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -456,15 +456,33 @@ dotnet_diagnostic.IDE0200.severity = warning
456456# IDE0270: Use coalesce expression
457457dotnet_diagnostic.IDE0270.severity = warning
458458
459+ # IDE0280: Use 'nameof'
460+ dotnet_diagnostic.IDE0280.severity = warning
461+
459462# IDE0290: Use primary constructor
460463dotnet_diagnostic.IDE0290.severity = none
461464
462- # IDE0300: Use collection initializers
465+ # IDE0300: Use collection expression for array
463466dotnet_diagnostic.IDE0300.severity = warning
464467
468+ # IDE0301: Use collection expression for empty
469+ dotnet_diagnostic.IDE0301.severity = warning
470+
471+ # IDE0302: Use collection expression for stackalloc
472+ dotnet_diagnostic.IDE0302.severity = warning
473+
474+ # IDE0303: Use collection expression for Create()
475+ dotnet_diagnostic.IDE0303.severity = warning
476+
477+ # IDE0304: Use collection expression for builder
478+ dotnet_diagnostic.IDE0304.severity = warning
479+
465480# IDE0305: Use collection initializers
466481dotnet_diagnostic.IDE0305.severity = warning
467482
483+ # IDE1005: Use conditional delegate call
484+ dotnet_diagnostic.IDE1005.severity = warning
485+
468486[* .cs ]
469487# var preferences
470488csharp_style_var_for_built_in_types = true :silent
Original file line number Diff line number Diff line change 1111 </PropertyGroup >
1212
1313 <ItemGroup Label =" Code analysis packages" >
14- <PackageReference Include =" SonarAnalyzer.CSharp" Version =" 9.19 .0.84025 " PrivateAssets =" All" />
14+ <PackageReference Include =" SonarAnalyzer.CSharp" Version =" 9.20 .0.85982 " PrivateAssets =" All" />
1515 <PackageReference Include =" StyleCop.Analyzers" Version =" 1.2.0-beta.556" PrivateAssets =" All" />
1616 </ItemGroup >
1717
Original file line number Diff line number Diff line change 1616 </PropertyGroup >
1717
1818 <ItemGroup Condition =" '$(Configuration)'=='Release'" >
19- <PackageReference Include =" SauceControl.InheritDoc" Version =" 2.0.0 " PrivateAssets =" All" />
19+ <PackageReference Include =" SauceControl.InheritDoc" Version =" 2.0.1 " PrivateAssets =" All" />
2020 </ItemGroup >
2121
2222 <ItemGroup >
You can’t perform that action at this time.
0 commit comments