diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-01-07 11:48:59 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-01-10 10:57:32 +0100 |
| commit | 05836c8cd31ceaa3b84c2fa7dd04dfdbc9d7cc3c (patch) | |
| tree | 257bfef6ce7e223d8d4b5cd9c042088b1f081e93 /jellyfin.ruleset | |
| parent | d24683f0abefe42daae366745422798079705243 (diff) | |
Fix warning SA1414 and CA1849
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 52bedabee..dea1a748b 100644 --- a/jellyfin.ruleset +++ b/jellyfin.ruleset @@ -13,6 +13,8 @@ <Rule Id="SA1210" Action="Error" /> <!-- error on SA1316: Tuple element names should use correct casing --> <Rule Id="SA1316" Action="Error" /> + <!-- error on SA1414: Tuple types in signatures should have element names --> + <Rule Id="SA1414" Action="Error" /> <!-- error on SA1518: File is required to end with a single newline character --> <Rule Id="SA1518" Action="Error" /> <!-- error on SA1629: Documentation text should end with a period --> @@ -73,6 +75,8 @@ <Rule Id="CA1843" Action="Error" /> <!-- error on CA1845: Use span-based 'string.Concat' --> <Rule Id="CA1845" Action="Error" /> + <!-- error on CA1849: Call async methods when in an async method --> + <Rule Id="CA1849" 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" /> |
