Add configuration for analyzers.

This commit is contained in:
2024-05-06 04:33:37 +01:00
parent 8f4d199070
commit 7db553a21c
3 changed files with 31 additions and 0 deletions

View File

@@ -1452,3 +1452,31 @@ tab_width = 4
indent_style = space
indent_size = 4
tab_width = 4
[*.{cs,vb}]
dotnet_diagnostic.ph2006.severity = none
dotnet_diagnostic.ph2021.severity = none
dotnet_diagnostic.ph2026.severity = none
dotnet_diagnostic.ph2028.severity = none
dotnet_diagnostic.ph2029.severity = none
dotnet_diagnostic.ph2031.severity = warning
dotnet_diagnostic.ph2045.severity = none
dotnet_diagnostic.ph2067.severity = none
dotnet_diagnostic.ph2068.severity = none
dotnet_diagnostic.ph2069.severity = warning
dotnet_diagnostic.ph2075.severity = none
dotnet_diagnostic.ph2079.severity = none
dotnet_diagnostic.ph2081.severity = none
dotnet_diagnostic.ph2082.severity = suggestion
dotnet_diagnostic.ph2083.severity = warning
dotnet_diagnostic.ph2086.severity = warning
dotnet_diagnostic.ph2089.severity = warning
dotnet_diagnostic.ph2096.severity = warning
dotnet_diagnostic.ph2097.severity = warning
dotnet_diagnostic.ph2098.severity = warning
dotnet_diagnostic.ph2101.severity = warning
dotnet_diagnostic.ph2102.severity = none
dotnet_diagnostic.mt1001.severity = warning
[*.{razor}]
resharper_normalize_tag_names = false

2
.globalconfig Normal file
View File

@@ -0,0 +1,2 @@
is_global = true
dotnet_diagnostic.PH2075.severity = none

View File

@@ -67,6 +67,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
codealike.json = codealike.json
release-checklist.md = release-checklist.md
Aaru.sln.DotSettings = Aaru.sln.DotSettings
.globalconfig = .globalconfig
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{4877DD55-10BF-42D2-8FA5-984A9D4F9B0E}"