aboutsummaryrefslogtreecommitdiff
path: root/jellyfin.ruleset
diff options
context:
space:
mode:
Diffstat (limited to 'jellyfin.ruleset')
-rw-r--r--jellyfin.ruleset4
1 files changed, 4 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset
index 469f61021..7adc35087 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -50,8 +50,12 @@
<Rule Id="CA1725" Action="Error" />
<!-- error on CA1725: Call async methods when in an async method -->
<Rule Id="CA1727" Action="Error" />
+ <!-- error on CA1813: Avoid unsealed attributes -->
+ <Rule Id="CA1813" Action="Error" />
<!-- error on CA1843: Do not use 'WaitAll' with a single task -->
<Rule Id="CA1843" Action="Error" />
+ <!-- error on CA1845: Use span-based 'string.Concat' -->
+ <Rule Id="CA1845" Action="Error" />
<!-- error on CA2016: Forward the CancellationToken parameter to methods that take one
or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token -->
<Rule Id="CA2016" Action="Error" />