aboutsummaryrefslogtreecommitdiff
path: root/jellyfin.ruleset
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-02-23 12:11:43 +0100
committerBond_009 <bond.009@outlook.com>2020-02-23 12:11:43 +0100
commit07cc4be6a747cfea40ee7a540385d6d8f38de726 (patch)
tree4bb46379abc5df6bf2a3e385b5fd281aa4c80b3d /jellyfin.ruleset
parent72c98e41ca2c0042edf645298371245c1abee354 (diff)
Fix some warnings
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
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 92b7a03fdd..a4f196a5e3 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -5,6 +5,8 @@
<Rule Id="SA1202" Action="Info" />
<!-- disable warning SA1204: Static members must appear before non-static members -->
<Rule Id="SA1204" Action="Info" />
+ <!-- disable warning SA1404: Code analysis suppression should have justification -->
+ <Rule Id="SA1404" Action="Info" />
<!-- disable warning SA1009: Closing parenthesis should be followed by a space. -->
<Rule Id="SA1009" Action="None" />
@@ -26,6 +28,8 @@
<Rule Id="SA1512" Action="None" />
<!-- disable warning SA1515: Single-line comment should be preceded by blank line -->
<Rule Id="SA1515" Action="None" />
+ <!-- disable warning SA1600: Elements should be documented -->
+ <Rule Id="SA1600" 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>