jellyfin.ruleset 1.2 KB

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RuleSet Name="Rules for Jellyfin.Server" Description="Code analysis rules for Jellyfin.Server.csproj" ToolsVersion="14.0">
  3. <Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
  4. <!-- disable warning SA1101: Prefix local calls with 'this.' -->
  5. <Rule Id="SA1101" Action="None" />
  6. <!-- disable warning SA1130: Use lambda syntax -->
  7. <Rule Id="SA1130" Action="None" />
  8. <!-- disable warning SA1200: 'using' directive must appear within a namespace declaration -->
  9. <Rule Id="SA1200" Action="None" />
  10. <!-- disable warning SA1309: Fields must not begin with an underscore -->
  11. <Rule Id="SA1309" Action="None" />
  12. <!-- disable warning SA1512: Single-line comments must not be followed by blank line -->
  13. <Rule Id="SA1512" Action="None" />
  14. <!-- disable warning SA1633: The file header is missing or not located at the top of the file -->
  15. <Rule Id="SA1633" Action="None" />
  16. </Rules>
  17. <Rules AnalyzerId="Microsoft.CodeAnalysis.FxCopAnalyzers" RuleNamespace="Microsoft.Design">
  18. <!-- disable warning CA1054: Change the type of parameter url from string to System.Uri -->
  19. <Rule Id="CA1054" Action="None" />
  20. </Rules>
  21. </RuleSet>