diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-11-15 15:57:07 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-11-15 15:57:07 +0100 |
| commit | 474b035d99c388e7d23280cefaa97760d4263f76 (patch) | |
| tree | 2c1fbbb639e0592247c8f8b6bc21a0b6d9aec244 /jellyfin.ruleset | |
| parent | 9c74103fbe151cad7ec0c2ddf4061afc9378b203 (diff) | |
Fix some warnings
Diffstat (limited to 'jellyfin.ruleset')
| -rw-r--r-- | jellyfin.ruleset | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset index e14c1c4270..469f61021a 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 --> |
