aboutsummaryrefslogtreecommitdiff
path: root/jellyfin.ruleset
diff options
context:
space:
mode:
authorMark Monteiro <mark.monteiro23@gmail.com>2019-12-14 16:01:24 +0100
committerMark Monteiro <mark.monteiro23@gmail.com>2019-12-14 16:01:24 +0100
commit47805d89fecaae7cc43c179596d1eb6e4bd53968 (patch)
treed2b6901a474a6efcf156bc549e4a40b24776f61e /jellyfin.ruleset
parent4c30557527ae17464c9c6f4fb5720c8b69d1118a (diff)
Set CA1032 (Implement standard exception constructors) severity to info globally
This replaces the existing [SurpressMessage] attribute
Diffstat (limited to 'jellyfin.ruleset')
-rw-r--r--jellyfin.ruleset2
1 files changed, 2 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset
index 75b5573b6..4ab07c941 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Rules for Jellyfin.Server" Description="Code analysis rules for Jellyfin.Server.csproj" ToolsVersion="14.0">
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
+ <!-- disable warning CA1032: Implement standard exception constructors -->
+ <Rule Id="CA1032" Action="Info" />
<!-- disable warning SA1202: 'public' members must come before 'private' members -->
<Rule Id="SA1202" Action="Info" />
<!-- disable warning SA1204: Static members must appear before non-static members -->