Style fix final (#523)
* all net5 * var * SA1310 * SA1310 * allow 1031 * SA1805 * fix SA1642 * remove unused code * allow sa1405 * isempty * fix CA1714 * fix CA1806 * remove always false if * fix format * fix CA1062 * allow SA0001 * fix CA1062 * allow ca1034 and temp allow ca1835 * fix 16XX doc related warnings * elm SA16XX * elm SA16XX * fix CA2213 * revert to pass all test * move unclear rule to ruleset * follow up of moving ruleset * remove this * fix test flaky
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
<Rule Id="SA1402" Action="Error" />
|
||||
|
||||
<!-- A call to Debug.Assert in C# code does not include a descriptive message. https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1405.md -->
|
||||
<Rule Id="SA1405" Action="Warning" />
|
||||
<Rule Id="SA1405" Action="None" />
|
||||
|
||||
<!-- The last statement in a multi-line C# initializer or list is missing a trailing comma. https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1413.md -->
|
||||
<Rule Id="SA1413" Action="Error" />
|
||||
@@ -187,7 +187,7 @@
|
||||
<Rule Id="SA1028" Action="Warning" />
|
||||
|
||||
<!-- All diagnostics of XML documentation comments has been disabled due to the current project configuration. https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA0001.md -->
|
||||
<Rule Id="SA0001" Action="Warning" />
|
||||
<Rule Id="SA0001" Action="None" />
|
||||
|
||||
<!-- Call GC.SuppressFinalize correctly https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1816 -->
|
||||
<Rule Id="CA1816" Action="Error" />
|
||||
@@ -220,10 +220,10 @@
|
||||
<Rule Id="CA1028" Action="Warning" />
|
||||
|
||||
<!-- Do not catch general exception types https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1031 -->
|
||||
<Rule Id="CA1031" Action="Warning" />
|
||||
<Rule Id="CA1031" Action="None" />
|
||||
|
||||
<!-- Nested types should not be visible https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1034 -->
|
||||
<Rule Id="CA1034" Action="Warning" />
|
||||
<Rule Id="CA1034" Action="None" />
|
||||
|
||||
<!-- Do not declare visible instance fields https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1051 -->
|
||||
<Rule Id="CA1051" Action="Warning" />
|
||||
@@ -293,5 +293,13 @@
|
||||
<!-- TODO -->
|
||||
<Rule Id="CA2008" Action="None" />
|
||||
|
||||
<!-- TODO only in netcore2.1+-->
|
||||
<Rule Id="CA1835" Action="Info" />
|
||||
|
||||
<!-- TODO missing doc-->
|
||||
<Rule Id="CS1591" Action="None" />
|
||||
<Rule Id="CS1573" Action="None" />
|
||||
<Rule Id="CS1574" Action="None" />
|
||||
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
|
||||
Reference in New Issue
Block a user