Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2021-08-10 23:15:57 +0300
committerGitHub <noreply@github.com>2021-08-10 23:15:57 +0300
commit03601a7a817068adb67639673db2010eaaf32d2a (patch)
tree1d323e7ef86cb3481f583c43779fef2cdf6fe9d8 /.editorconfig
parentb7de2624489f218ae64148ae74e9440d0980e894 (diff)
Switch to using globalconfig instead of ruleset for analyzer configuration (#57144)
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig9
1 files changed, 0 insertions, 9 deletions
diff --git a/.editorconfig b/.editorconfig
index 827c77d4a85..3d69f227062 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -90,10 +90,7 @@ csharp_preserve_single_line_statements = false:none
csharp_prefer_static_local_function = true:suggestion
csharp_prefer_simple_using_statement = false:none
csharp_style_prefer_switch_expression = true:suggestion
-
-# Code quality
dotnet_style_readonly_field = true:suggestion
-dotnet_code_quality_unused_parameters = non_public:suggestion
# Expression-level preferences
dotnet_style_object_initializer = true:suggestion
@@ -157,12 +154,6 @@ csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false
-# Analyzers
-dotnet_code_quality.CA1052.api_surface = private, internal
-dotnet_code_quality.CA1802.api_surface = private, internal
-dotnet_code_quality.CA1822.api_surface = private, internal
-dotnet_code_quality.CA2208.api_surface = public
-
# License header
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.