nixpkgs-suyu/pkgs/servers/jellyfin/disable-warnings.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
2.1 KiB
Diff
Raw Normal View History

2022-03-28 10:48:16 +02:00
diff --git a/jellyfin.ruleset b/jellyfin.ruleset
2023-01-23 10:18:08 +01:00
index 1c834de82..bf70fef1e 100644
2022-03-28 10:48:16 +02:00
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
2023-01-23 10:18:08 +01:00
@@ -54,6 +54,33 @@
2022-03-28 10:48:16 +02:00
<Rule Id="SA1602" Action="None" />
<!-- disable warning SA1633: The file header is missing or not located at the top of the file -->
<Rule Id="SA1633" Action="None" />
+
+ <!-- disable warning SA1028: Code should not contain trailing whitespace -->
+ <Rule Id="SA1028" Action="None" />
+ <!-- disable warning SA1507: Code should not contain multiple blank lines in a row -->
+ <Rule Id="SA1507" Action="None" />
+ <!-- disable warning SA1642: Constructor summary documentation should begin with standard text -->
+ <Rule Id="SA1642" Action="None" />
+ <!-- disable warning SA1505: An opening brace should not be followed by a blank line -->
+ <Rule Id="SA1505" Action="None" />
+ <!-- disable warning SA1508: A closing brace should not be preceded by a blank line -->
+ <Rule Id="SA1508" Action="None" />
+ <!-- disable warning SA1513: Closing brace should be followed by blank line -->
+ <Rule Id="SA1513" Action="None" />
+ <!-- disable warning SA1111: Closing parenthesis should be on line of last parameter -->
+ <Rule Id="SA1111" Action="None" />
+ <!-- disable warning SA1649: File name should match first type name -->
+ <Rule Id="SA1649" Action="None" />
+ <!-- disable warning SA1137: Elements should have the same indentation -->
+ <Rule Id="SA1137" Action="None" />
+ <!-- disable warning SA1005: Single line comment should begin with a space -->
+ <Rule Id="SA1005" Action="None" />
+ <!-- disable warning SA1208: Using directive for 'System.Text' should appear before directive for '...' -->
+ <Rule Id="SA1208" Action="None" />
2022-09-29 09:50:03 +02:00
+ <!-- disable warning SA1208: The property's documentation summary text should begin with: 'Gets a value indicating whether' -->
+ <Rule Id="SA1623" Action="None" />
2023-01-23 10:18:08 +01:00
+ <!-- disable warning SA1625: Element documentation should not be copied and pasted -->
+ <Rule Id="SA1625" Action="None" />
2022-03-28 10:48:16 +02:00
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.NetAnalyzers" RuleNamespace="Microsoft.Design">