diff options
| -rw-r--r-- | Jellyfin.Server/Jellyfin.Server.csproj | 2 | ||||
| -rw-r--r-- | jellyfin.ruleset | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csproj index a6bf23f5b..1f2287a75 100644 --- a/Jellyfin.Server/Jellyfin.Server.csproj +++ b/Jellyfin.Server/Jellyfin.Server.csproj @@ -12,7 +12,7 @@ <!-- We need C# 7.1 for async main--> <LangVersion>latest</LangVersion> <!-- Disable ducumentation warnings (for now) --> - <NoWarn>SA1600</NoWarn> + <NoWarn>SA1600;CS1591</NoWarn> </PropertyGroup> <ItemGroup> diff --git a/jellyfin.ruleset b/jellyfin.ruleset index 25d11d7d3..4381349ca 100644 --- a/jellyfin.ruleset +++ b/jellyfin.ruleset @@ -14,4 +14,8 @@ <!-- disable warning SA1633: The file header is missing or not located at the top of the file --> <Rule Id="SA1633" Action="None" /> </Rules> + <Rules AnalyzerId="Microsoft.CodeAnalysis.FxCopAnalyzers" RuleNamespace="Microsoft.Design"> + <!-- disable warning CA1054: Change the type of parameter url from string to System.Uri --> + <Rule Id="CA1054" Action="None" /> + </Rules> </RuleSet> |
