From 165577ef22f42b6295df0fc33b959e2eedb74001 Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Mon, 11 Aug 2025 11:28:24 -0400 Subject: [PATCH] chore(analyzers): sets some default --- backend/.editorconfig | 9 ++++++++- backend/Hutopy.csproj | 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/backend/.editorconfig b/backend/.editorconfig index 6bade55..605c54a 100644 --- a/backend/.editorconfig +++ b/backend/.editorconfig @@ -283,4 +283,11 @@ dotnet_naming_rule.everything_else_naming.severity = suggestion resharper_local_function_body = expression_body # CS9236: Compiling requires binding the lambda expression at least 100 times -dotnet_diagnostic.CS9236.severity = error \ No newline at end of file +dotnet_diagnostic.CS9236.severity = error + +# Turn off CA1848 for now (for improved performance, use LoggerMessage delegate) +dotnet_diagnostic.CA1848.severity = none + +# Turn off CA1515(make public types internal) for files that contain exception types +[**/*Exception.cs] +dotnet_diagnostic.CA1515.severity = none \ No newline at end of file diff --git a/backend/Hutopy.csproj b/backend/Hutopy.csproj index 0bf6bcb..4e9c8c3 100644 --- a/backend/Hutopy.csproj +++ b/backend/Hutopy.csproj @@ -11,7 +11,6 @@ AllEnabledByDefault false - analyzers.ruleset @@ -36,7 +35,7 @@ - +