Skip to content

Commit bea0326

Browse files
author
Gonzalo Diaz
committed
[CONFIG] Ignore deliberate coding decisions marked as warnings.
1 parent 81846e0 commit bea0326

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,22 @@ dotnet_naming_rule.all_methods_must_be_camel_case.style = camel_case_style
5757
dotnet_naming_rule.all_methods_must_be_camel_case.severity = warning
5858

5959
# Due clean code suggestion
60+
61+
# CA1034: Los tipos anidados no deben ser visibles
62+
dotnet_diagnostic.CA1034.severity = none
63+
64+
# CA1002: No exponer listas genéricas
65+
dotnet_diagnostic.CA1002.severity = none
66+
67+
# CA1707: Los identificadores no deben contener caracteres de subrayado
68+
dotnet_diagnostic.CA1707.severity = none
69+
70+
# CA1308: Normalizar las cadenas en mayúsculas
71+
dotnet_diagnostic.CA1308.severity = none
72+
6073
[*.{cs,vb}]
6174
dotnet_diagnostic.IDE0054.severity = none
6275
dotnet_diagnostic.IDE0074.severity = none
76+
77+
# Default severity for analyzer diagnostics with category 'Style'
78+
dotnet_analyzer_diagnostic.category-Style.severity = none

src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/CrushBruteForce.Test.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class CrushBruteForceTest
88
public class CrushBruteForceTestCase
99
{
1010
public string title { get; set; } = default!;
11-
public List<List<int>> queries { get; set; } = default!;
11+
public List<List<int>> queries { get; } = default!;
1212
public int n { get; set; } = default!;
1313
public long expected { get; set; } = default!;
1414
}

0 commit comments

Comments
 (0)