diff options
| author | Tim Eisele <tim.eisele@holidu.com> | 2024-12-09 14:42:27 +0100 |
|---|---|---|
| committer | Tim Eisele <tim.eisele@holidu.com> | 2024-12-09 14:42:27 +0100 |
| commit | 08027b1008c69f400427de071cc85c30b64fc792 (patch) | |
| tree | 4521afba5abae1f8dc051bc8dee527c221ab579f /tests | |
| parent | 6691380c04d0545ba5cb72597ec4331dcf6cafcf (diff) | |
Migrate rulesets to .editorconf
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Directory.Build.props | 1 | ||||
| -rw-r--r-- | tests/jellyfin-tests.ruleset | 28 |
2 files changed, 0 insertions, 29 deletions
diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 146ad8dc2..6b851021f 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -6,7 +6,6 @@ <PropertyGroup> <TargetFramework>net9.0</TargetFramework> <IsPackable>false</IsPackable> - <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/jellyfin-tests.ruleset</CodeAnalysisRuleSet> </PropertyGroup> <!-- Code Analyzers --> diff --git a/tests/jellyfin-tests.ruleset b/tests/jellyfin-tests.ruleset deleted file mode 100644 index 9d133da56..000000000 --- a/tests/jellyfin-tests.ruleset +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RuleSet Name="Rules for Jellyfin.Api.Tests" Description="Code analysis rules for Jellyfin.Api.Tests.csproj" ToolsVersion="14.0"> - - <!-- Include the solution default RuleSet. The rules in this file will override the defaults. --> - <Include Path="../jellyfin.ruleset" Action="Default" /> - - <!-- StyleCop Analyzer Rules --> - <Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers"> - <!-- SA0001: XML comment analysis is disabled due to project configuration --> - <Rule Id="SA0001" Action="None" /> - </Rules> - - <!-- FxCop Analyzer Rules --> - <Rules AnalyzerId="Microsoft.CodeAnalysis.FxCopAnalyzers" RuleNamespace="Microsoft.Design"> - <!-- CA1707: Identifiers should not contain underscores --> - <Rule Id="CA1707" Action="None" /> - <!-- CA2007: Consider calling ConfigureAwait on the awaited task --> - <Rule Id="CA2007" Action="None" /> - <!-- CA2234: Pass system uri objects instead of strings --> - <Rule Id="CA2234" Action="Info" /> - </Rules> - - <!-- xUnit --> - <Rules AnalyzerId="xUnit" RuleNamespace="xUnit"> - <!-- Test methods must have a supported return type. --> - <Rule Id="xUnit1028" Action="None" /> - </Rules> -</RuleSet> |
