mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(services): 🐛 resolve warnings
This commit is contained in:
parent
914408b140
commit
824e450ccb
6 changed files with 28 additions and 1 deletions
|
|
@ -7,3 +7,8 @@ indent_style = space
|
|||
# Xml files
|
||||
[*.xml]
|
||||
indent_size = 2
|
||||
|
||||
# Code quality analysis
|
||||
[*.cs]
|
||||
dotnet_diagnostic.CA1812.severity = suggestion
|
||||
dotnet_diagnostic.CA2007.severity = none
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
|
||||
|
||||
# Code quality analysis
|
||||
[*.cs]
|
||||
dotnet_diagnostic.CA1034.severity = suggestion
|
||||
dotnet_diagnostic.CA1724.severity = suggestion
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
|
||||
|
||||
# Code quality analysis
|
||||
[*.cs]
|
||||
dotnet_diagnostic.CA1034.severity = suggestion
|
||||
dotnet_diagnostic.CA1724.severity = suggestion
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
|
||||
|
||||
# Code quality analysis
|
||||
[*.cs]
|
||||
dotnet_diagnostic.CA1707.severity = suggestion
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
|
||||
|
||||
# Code quality analysis
|
||||
[*.cs]
|
||||
dotnet_diagnostic.CS8625.severity = suggestion
|
||||
|
|
@ -32,7 +32,7 @@ public static async Task<int> TryRunWithLoggingAsync(this IHost host, Func<Task>
|
|||
catch (Exception ex)
|
||||
{
|
||||
Log.Fatal(ex, "Host terminated unexpectedly");
|
||||
return 1;
|
||||
throw;
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue