aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jellyfin.ruleset11
1 files changed, 4 insertions, 7 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset
index 19c0a08b2..b450a3aaf 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -1,13 +1,6 @@
<?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 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" />
<!-- disable warning SA1011: Closing square bracket should be followed by a space. -->
@@ -22,6 +15,10 @@
<Rule Id="SA1130" Action="None" />
<!-- disable warning SA1200: 'using' directive must appear within a namespace declaration -->
<Rule Id="SA1200" Action="None" />
+ <!-- disable warning SA1202: 'public' members must come before 'private' members -->
+ <Rule Id="SA1202" Action="None" />
+ <!-- disable warning SA1204: Static members must appear before non-static members -->
+ <Rule Id="SA1204" 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 -->