jellyfin.ruleset 1.6 KB

1234567891011121314151617181920212223242526272829
  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 SA1202: 'public' members must come before 'private' members -->
  5. <Rule Id="SA1202" Action="Info" />
  6. <!-- disable warning SA1204: Static members must appear before non-static members -->
  7. <Rule Id="SA1204" Action="Info" />
  8. <!-- disable warning SA1101: Prefix local calls with 'this.' -->
  9. <Rule Id="SA1101" Action="None" />
  10. <!-- disable warning SA1130: Use lambda syntax -->
  11. <Rule Id="SA1130" Action="None" />
  12. <!-- disable warning SA1200: 'using' directive must appear within a namespace declaration -->
  13. <Rule Id="SA1200" Action="None" />
  14. <!-- disable warning SA1309: Fields must not begin with an underscore -->
  15. <Rule Id="SA1309" Action="None" />
  16. <!-- disable warning SA1512: Single-line comments must not be followed by blank line -->
  17. <Rule Id="SA1512" Action="None" />
  18. <!-- disable warning SA1633: The file header is missing or not located at the top of the file -->
  19. <Rule Id="SA1633" Action="None" />
  20. </Rules>
  21. <Rules AnalyzerId="Microsoft.CodeAnalysis.FxCopAnalyzers" RuleNamespace="Microsoft.Design">
  22. <!-- disable warning CA1822: Member does not access instance data and can be marked as static -->
  23. <Rule Id="CA1822" Action="Info" />
  24. <!-- disable warning CA1054: Change the type of parameter url from string to System.Uri -->
  25. <Rule Id="CA1054" Action="None" />
  26. </Rules>
  27. </RuleSet>