From 9124f9a3bfecbb495c12052e612e15cedab5f1bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 19 Dec 2025 15:41:07 +0000 Subject: [PATCH 1/2] Initial plan From 08afc21b7a467965b048879f657bb57a83a459ff Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 19 Dec 2025 15:45:19 +0000 Subject: [PATCH 2/2] Change global_level from -1 to -100 in editorconfig files Co-authored-by: meziantou <509220+meziantou@users.noreply.github.com> --- src/DocumentationGenerator/Program.cs | 2 +- src/Meziantou.Analyzer.Pack/configuration/default.editorconfig | 2 +- src/Meziantou.Analyzer.Pack/configuration/none.editorconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DocumentationGenerator/Program.cs b/src/DocumentationGenerator/Program.cs index a934227a..51b6de38 100644 --- a/src/DocumentationGenerator/Program.cs +++ b/src/DocumentationGenerator/Program.cs @@ -166,7 +166,7 @@ void GenerateFile(FullPath outputPath, Action code) var sb = new StringBuilder(); sb.Append("# This file is generated by the build process. Do not edit it manually.\n"); sb.Append("is_global = true\n"); - sb.Append("global_level = -1\n"); + sb.Append("global_level = -100\n"); sb.Append('\n'); code(sb); WriteFileIfChanged(outputPath, sb.ToString()); diff --git a/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig b/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig index 5c205277..eed98009 100644 --- a/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig +++ b/src/Meziantou.Analyzer.Pack/configuration/default.editorconfig @@ -1,6 +1,6 @@ # This file is generated by the build process. Do not edit it manually. is_global = true -global_level = -1 +global_level = -100 # MA0001: StringComparison is missing dotnet_diagnostic.MA0001.severity = suggestion diff --git a/src/Meziantou.Analyzer.Pack/configuration/none.editorconfig b/src/Meziantou.Analyzer.Pack/configuration/none.editorconfig index 329ddd66..f7c6f662 100644 --- a/src/Meziantou.Analyzer.Pack/configuration/none.editorconfig +++ b/src/Meziantou.Analyzer.Pack/configuration/none.editorconfig @@ -1,6 +1,6 @@ # This file is generated by the build process. Do not edit it manually. is_global = true -global_level = -1 +global_level = -100 # MA0001: StringComparison is missing dotnet_diagnostic.MA0001.severity = none