aboutsummaryrefslogtreecommitdiff
path: root/jellyfin.ruleset
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-05-10 20:37:42 +0200
committerBond-009 <bond.009@outlook.com>2019-06-01 11:31:27 +0200
commita6f9ceedd82fe34a8d1f088d91f7c217ee070aad (patch)
tree9774be96290a3bf52d7a8fd4efc3314e9f7695a6 /jellyfin.ruleset
parent2aed2d164b110ecafa88b5036e0875627908bde2 (diff)
Fix more warnings
Diffstat (limited to 'jellyfin.ruleset')
-rw-r--r--jellyfin.ruleset5
1 files changed, 5 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset
index 262121a32..0a60c8c7a 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -14,12 +14,17 @@
<Rule Id="SA1200" Action="None" />
<!-- disable warning SA1309: Fields must not begin with an underscore -->
<Rule Id="SA1309" Action="None" />
+ <!-- disable warning SA1413: Use trailing comma in multi-line initializers -->
+ <Rule Id="SA1413" Action="None" />
<!-- disable warning SA1512: Single-line comments must not be followed by blank line -->
<Rule Id="SA1512" Action="None" />
<!-- disable warning SA1633: The file header is missing or not located at the top of the file -->
<Rule Id="SA1633" Action="None" />
</Rules>
+
<Rules AnalyzerId="Microsoft.CodeAnalysis.FxCopAnalyzers" RuleNamespace="Microsoft.Design">
+ <!-- disable warning CA1031: Do not catch general exception types -->
+ <Rule Id="CA1031" Action="Info" />
<!-- disable warning CA1822: Member does not access instance data and can be marked as static -->
<Rule Id="CA1822" Action="Info" />