Skip to content

Commit 2054107

Browse files
committed
Update .editorconfig
1 parent 81356ea commit 2054107

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

.editorconfig

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,26 @@ file_header_template = Copyright (c) 2021-${CurrentDate.Year} Koji Hasegawa.\nTh
150150
# RS0016: Only enable if API files are present
151151
dotnet_public_api_analyzer.require_api_files = true
152152

153+
# IDE0055: Fix formatting
154+
# Workaround for https://github.com/dotnet/roslyn/issues/70570
155+
dotnet_diagnostic.IDE0055.severity = warning
156+
157+
# https://github.com/dotnet/roslyn-analyzers/issues/7436 - False positives from valid GetDeclaredSymbol calls
158+
dotnet_diagnostic.RS1039.severity = none
159+
160+
# These xUnit analyzers were disabled temporarily to let us move to the
161+
# new xUnit and get past several component governance issues. The
162+
# following issue tracks enabling them
163+
#
164+
# https://github.com/dotnet/roslyn/issues/75093
165+
dotnet_diagnostic.xUnit1012.severity = none
166+
dotnet_diagnostic.xUnit1030.severity = none
167+
dotnet_diagnostic.xUnit1031.severity = none
168+
dotnet_diagnostic.xUnit2005.severity = none
169+
dotnet_diagnostic.xUnit2020.severity = none
170+
dotnet_diagnostic.xUnit2023.severity = none
171+
dotnet_diagnostic.xUnit2029.severity = none
172+
153173
# CSharp code style settings:
154174
[*.cs]
155175
# Newline settings
@@ -185,9 +205,6 @@ csharp_style_var_for_built_in_types = true:suggestion
185205
csharp_style_var_when_type_is_apparent = true:suggestion
186206
csharp_style_var_elsewhere = true:suggestion
187207

188-
# Namespace declarations style
189-
csharp_style_namespace_declarations = block_scoped:suggestion
190-
191208
# Prefer method-like constructs to have a block body
192209
csharp_style_expression_bodied_methods = false:none
193210
csharp_style_expression_bodied_constructors = false:none

0 commit comments

Comments
 (0)