jellyfin-tests.ruleset 1.2 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RuleSet Name="Rules for Jellyfin.Api.Tests" Description="Code analysis rules for Jellyfin.Api.Tests.csproj" ToolsVersion="14.0">
  3. <!-- Include the solution default RuleSet. The rules in this file will override the defaults. -->
  4. <Include Path="../jellyfin.ruleset" Action="Default" />
  5. <!-- StyleCop Analyzer Rules -->
  6. <Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
  7. <!-- SA0001: XML comment analysis is disabled due to project configuration -->
  8. <Rule Id="SA0001" Action="None" />
  9. </Rules>
  10. <!-- FxCop Analyzer Rules -->
  11. <Rules AnalyzerId="Microsoft.CodeAnalysis.FxCopAnalyzers" RuleNamespace="Microsoft.Design">
  12. <!-- CA1707: Identifiers should not contain underscores -->
  13. <Rule Id="CA1707" Action="None" />
  14. <!-- CA2007: Consider calling ConfigureAwait on the awaited task -->
  15. <Rule Id="CA2007" Action="None" />
  16. <!-- CA2234: Pass system uri objects instead of strings -->
  17. <Rule Id="CA2234" Action="Info" />
  18. </Rules>
  19. <!-- xUnit -->
  20. <Rules AnalyzerId="xUnit" RuleNamespace="xUnit">
  21. <!-- Test methods must have a supported return type. -->
  22. <Rule Id="xUnit1028" Action="None" />
  23. </Rules>
  24. </RuleSet>