diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-05-15 20:28:15 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-05-15 20:38:29 +0200 |
| commit | 42be818a09034103301cfc26de0941da10b34fd0 (patch) | |
| tree | bfdcdf746e46753e91292413072742ea1aa92f72 /jellyfin.ruleset | |
| parent | 88a7875a2739bef91f1d7216c5ebd89b4c267911 (diff) | |
Fully disable stupid rules
Diffstat (limited to 'jellyfin.ruleset')
| -rw-r--r-- | jellyfin.ruleset | 11 |
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 --> |
