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 @@ - +