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

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav K <prkrishn@hotmail.com>2022-01-14 00:44:47 +0300
committerGitHub <noreply@github.com>2022-01-14 00:44:47 +0300
commit07d728b517005ec655925d83bd7b66538145be81 (patch)
treeeddc01e1d5b29b3ff8c31ea997e8c985f6fa529a /.editorconfig
parentd5557cd2441ea5e81f298d35663949576836dd4d (diff)
Enable warnings for IDE0062 (#39463)
Contributes to https://github.com/dotnet/aspnetcore/issues/24055
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index d4088b6adf..4682cf58b9 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -233,6 +233,9 @@ dotnet_diagnostic.IDE0055.severity = warning
# IDE0059: Unnecessary assignment to a value
dotnet_diagnostic.IDE0059.severity = warning
+# IDE0062: Make local function static
+dotnet_diagnostic.IDE0062.severity = warning
+
# IDE0073: File header
dotnet_diagnostic.IDE0073.severity = warning
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.
@@ -285,6 +288,8 @@ dotnet_diagnostic.IDE0044.severity = suggestion
dotnet_diagnostic.IDE0051.severity = suggestion
# IDE0059: Unnecessary assignment to a value
dotnet_diagnostic.IDE0059.severity = suggestion
+# IDE0062: Make local function static
+dotnet_diagnostic.IDE0062.severity = suggestion
# CA2016: Forward the 'CancellationToken' parameter to methods that take one
dotnet_diagnostic.CA2016.severity = suggestion
@@ -298,6 +303,8 @@ dotnet_diagnostic.CA1822.severity = silent
dotnet_diagnostic.IDE0011.severity = silent
# IDE0055: Fix formatting
dotnet_diagnostic.IDE0055.severity = silent
+# IDE0062: Make local function static
+dotnet_diagnostic.IDE0062.severity = silent
# IDE0161: Convert to file-scoped namespace
dotnet_diagnostic.IDE0161.severity = silent