Skip to content

Commit 2f17ef4

Browse files
committed
allow ca1801 ca1052 ca1054
1 parent 49b857f commit 2f17ef4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

kubernetes-client.ruleset

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
<Rule Id="CA1816" Action="Error" />
194194

195195
<!-- Review unused parameters https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1801 -->
196-
<Rule Id="CA1801" Action="Warning" />
196+
<Rule Id="CA1801" Action="None" />
197197

198198
<!-- Rethrow to preserve stack details https://docs.microsoft.com/en-us/visualstudio/code-quality/CA2200 -->
199199
<Rule Id="CA2200" Action="Warning" />
@@ -228,8 +228,11 @@
228228
<!-- Do not declare visible instance fields https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1051 -->
229229
<Rule Id="CA1051" Action="Warning" />
230230

231+
<!-- Static holder types should be Static or NotInheritable https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1052 -->
232+
<Rule Id="CA1052" Action="None" />
233+
231234
<!-- URI parameters should not be strings https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1054 -->
232-
<Rule Id="CA1054" Action="Warning" />
235+
<Rule Id="CA1054" Action="None" />
233236

234237
<!-- Validate arguments of public methods https://docs.microsoft.com/en-us/visualstudio/code-quality/CA1062 -->
235238
<Rule Id="CA1062" Action="Warning" />

0 commit comments

Comments
 (0)