aboutsummaryrefslogtreecommitdiff
path: root/jellyfin.ruleset
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-02-28 22:33:20 +0100
committerBond-009 <bond.009@outlook.com>2019-03-07 21:52:16 +0100
commit620d7b560d0b72f532d96a5b459f14fd4ad3044a (patch)
tree90bd6a1ab40f6627252bd5887994eca6dd225446 /jellyfin.ruleset
parent5cb3f04389fc251c7be6c6098c901c83170f5f83 (diff)
Fail on warnings for Jellyfin.Server
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 4381349ca6..0a04b4c557 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -1,6 +1,11 @@
<?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 SA1202: 'public' members must come before 'private' members -->
+ <Rule Id="SA1202" Action="Info" />
+ <!-- disable warning SA1204: Static members must appear before non-static members -->
+ <Rule Id="SA1204" Action="Info" />
+
<!-- disable warning SA1101: Prefix local calls with 'this.' -->
<Rule Id="SA1101" Action="None" />
<!-- disable warning SA1130: Use lambda syntax -->