diff options
Diffstat (limited to 'jellyfin.ruleset')
| -rw-r--r-- | jellyfin.ruleset | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset index 3bced438cd..e14c1c4270 100644 --- a/jellyfin.ruleset +++ b/jellyfin.ruleset @@ -44,9 +44,13 @@ <Rule Id="CA1725" Action="Error" /> <!-- error on CA1725: Call async methods when in an async method --> <Rule Id="CA1727" Action="Error" /> + <!-- error on CA1843: Do not use 'WaitAll' with a single task --> + <Rule Id="CA1843" 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" /> + <!-- error on CA2254: Template should be a static expression --> + <Rule Id="CA2254" Action="Error" /> <!-- disable warning CA1014: Mark assemblies with CLSCompliantAttribute --> <Rule Id="CA1014" Action="Info" /> |
