|
68 | 68 | <Rule Id="CA2241" Action="Warning"/>
|
69 | 69 | <Rule Id="CA2242" Action="Warning"/>
|
70 | 70 | </Rules>
|
71 |
| - <Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Analyzers"> |
72 |
| - <Rule Id="RS1022" Action="None"/> <!-- https://github.com/dotnet/roslyn-analyzers/issues/1803 --> |
73 |
| - </Rules> |
74 | 71 | <Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.CodeStyle" RuleNamespace="Microsoft.CodeAnalysis.CSharp.CodeStyle">
|
75 | 72 | <Rule Id="IDE0055" Action="Warning"/>
|
76 | 73 | </Rules>
|
|
81 | 78 | <Rule Id="SA0001" Action="Hidden"/> <!-- XML comment analysis disabled -->
|
82 | 79 | <Rule Id="SA0002" Action="Warning"/> <!-- Invalid settings file -->
|
83 | 80 | </Rules>
|
| 81 | + |
84 | 82 | <Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers.SpacingRules">
|
85 | 83 | <Rule Id="SA1000" Action="Warning"/> <!-- Keywords should be spaced correctly -->
|
86 | 84 | <Rule Id="SA1001" Action="Error"/> <!-- Commas should be spaced correctly -->
|
|
152 | 150 | <Rule Id="SA1136" Action="Warning"/> <!-- Enum values should be on separate lines -->
|
153 | 151 | <Rule Id="SA1137" Action="Warning"/> <!-- Elements should have the same indentation -->
|
154 | 152 | <Rule Id="SA1139" Action="Warning"/> <!-- Use literal suffix notation instead of casting -->
|
| 153 | + <Rule Id="SA1141" Action="Warning" /> <!-- Use tuple syntax --> |
| 154 | + <Rule Id="SA1142" Action="Info" /> <!-- Refer to tuple fields by name --> |
155 | 155 | <Rule Id="SX1101" Action="None"/> <!-- Do not prefix local calls with 'this.' -->
|
156 | 156 | </Rules>
|
157 | 157 |
|
|
293 | 293 | <Rule Id="SA1650" Action="None"/> <!-- Element documentation should be spelled correctly -->
|
294 | 294 | <Rule Id="SA1651" Action="Warning"/> <!-- Do not use placeholder elements -->
|
295 | 295 | </Rules>
|
| 296 | + |
296 | 297 | <Rules AnalyzerId="DocumentationAnalyzers" RuleNamespace="DocumentationAnalyzers">
|
297 | 298 | <Rule Id="DOC100" Action="Warning"/>
|
298 | 299 | <Rule Id="DOC101" Action="Warning"/>
|
|
309 | 310 | <Rule Id="DOC203" Action="Warning"/>
|
310 | 311 | <Rule Id="DOC204" Action="Warning"/>
|
311 | 312 | </Rules>
|
| 313 | + |
312 | 314 | <Rules AnalyzerId="xunit.analyzers" RuleNamespace="xunit.analyzers">
|
313 | 315 | <Rule Id="xUnit1013" Action="Error"/>
|
314 | 316 | </Rules>
|
|
0 commit comments