aboutsummaryrefslogtreecommitdiff
path: root/jellyfin.ruleset
diff options
context:
space:
mode:
Diffstat (limited to 'jellyfin.ruleset')
-rw-r--r--jellyfin.ruleset6
1 files changed, 6 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset
index e14c1c427..469f61021 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -38,8 +38,14 @@
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.NetAnalyzers" RuleNamespace="Microsoft.Design">
+ <!-- error on CA1063: Implement IDisposable correctly -->
+ <Rule Id="CA1063" Action="Error" />
<!-- error on CA1305: Specify IFormatProvider -->
<Rule Id="CA1305" Action="Error" />
+ <!-- error on CA1307: Specify StringComparison for clarity -->
+ <Rule Id="CA1307" Action="Error" />
+ <!-- error on CA1309: Use ordinal StringComparison -->
+ <Rule Id="CA1309" Action="Error" />
<!-- error on CA1725: Parameter names should match base declaration -->
<Rule Id="CA1725" Action="Error" />
<!-- error on CA1725: Call async methods when in an async method -->