mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #6050 from Bond-009/ruleset3
Fully disable stupid rules
This commit is contained in:
commit
ca92a9a80c
@ -1,13 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-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">
|
<RuleSet Name="Rules for Jellyfin.Server" Description="Code analysis rules for Jellyfin.Server.csproj" ToolsVersion="14.0">
|
||||||
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
|
<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. -->
|
<!-- disable warning SA1009: Closing parenthesis should be followed by a space. -->
|
||||||
<Rule Id="SA1009" Action="None" />
|
<Rule Id="SA1009" Action="None" />
|
||||||
<!-- disable warning SA1011: Closing square bracket should be followed by a space. -->
|
<!-- disable warning SA1011: Closing square bracket should be followed by a space. -->
|
||||||
@ -22,6 +15,10 @@
|
|||||||
<Rule Id="SA1130" Action="None" />
|
<Rule Id="SA1130" Action="None" />
|
||||||
<!-- disable warning SA1200: 'using' directive must appear within a namespace declaration -->
|
<!-- disable warning SA1200: 'using' directive must appear within a namespace declaration -->
|
||||||
<Rule Id="SA1200" Action="None" />
|
<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 -->
|
<!-- disable warning SA1309: Fields must not begin with an underscore -->
|
||||||
<Rule Id="SA1309" Action="None" />
|
<Rule Id="SA1309" Action="None" />
|
||||||
<!-- disable warning SA1413: Use trailing comma in multi-line initializers -->
|
<!-- disable warning SA1413: Use trailing comma in multi-line initializers -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user