-
-
Notifications
You must be signed in to change notification settings - Fork 63
Lower global_level from -1 to -100 in editorconfig files #944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: meziantou <[email protected]>
Copilot
AI
changed the title
[WIP] Lower global level in .editorconfig settings
Lower global_level from -1 to -100 in editorconfig files
Dec 19, 2025
meziantou
approved these changes
Dec 19, 2025
This was referenced Dec 19, 2025
Closed
This was referenced Jan 3, 2026
Open
Open
wengwalker
added a commit
to wengwalker/Items-shop
that referenced
this pull request
Jan 10, 2026
Updated [Meziantou.Analyzer](https://github.com/meziantou/Meziantou.Analyzer) from 2.0.257 to 2.0.272. <details> <summary>Release notes</summary> _Sourced from [Meziantou.Analyzer's releases](https://github.com/meziantou/Meziantou.Analyzer/releases)._ ## 2.0.272 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.272> ## What's Changed * Extend MA0182 to all types by @meziantou in meziantou/Meziantou.Analyzer#957 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.271...2.0.272 ## 2.0.271 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.271> ## What's Changed * Add MA0182: Detect unused internal classes with correct handling of generic type arguments and typeof references by @Copilot in meziantou/Meziantou.Analyzer#956 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.270...2.0.271 ## 2.0.270 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.270> ## What's Changed * Apply repository configuration by @meziantou in meziantou/Meziantou.Analyzer#954 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.269...2.0.270 ## 2.0.269 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.269> ## What's Changed * Apply repository configuration by @meziantou in meziantou/Meziantou.Analyzer#953 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.268...2.0.269 ## 2.0.268 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.268> **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.267...2.0.268 ## 2.0.267 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.267> ## What's Changed * Add MA0181 - Report use of explicit casts by @Copilot in meziantou/Meziantou.Analyzer#952 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.266...2.0.267 ## 2.0.266 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.266> **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.265...2.0.266 ## 2.0.265 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.265> ## What's Changed * Add refactoring: convert interpolated string to Format call by @meziantou in meziantou/Meziantou.Analyzer#948 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.264...2.0.265 ## 2.0.264 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.264> ## What's Changed * Lower global_level from -1 to -100 in editorconfig files by @Copilot in meziantou/Meziantou.Analyzer#944 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.263...2.0.264 ## 2.0.263 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.263> ## What's Changed * Add MA0180: Detect ILogger<T> type parameter mismatch with containing class by @Copilot in meziantou/Meziantou.Analyzer#941 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.262...2.0.263 ## 2.0.262 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.262> ## What's Changed * Make DocumentationGenerator ignore trailing whitespace differences by @Copilot in meziantou/Meziantou.Analyzer#942 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.261...2.0.262 ## 2.0.261 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.261> ## What's Changed * Add MA0179: Detect inefficient attribute existence checks by @Copilot in meziantou/Meziantou.Analyzer#939 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.260...2.0.261 ## 2.0.260 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.260> ## What's Changed * Add concurrency control to serialize CI runs on main branch by @Copilot in meziantou/Meziantou.Analyzer#938 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.259...2.0.260 ## 2.0.259 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.259> ## What's Changed * Add opt-in configuration for MA0153 to detect logging of types containing DataClassification members by @Copilot in meziantou/Meziantou.Analyzer#936 **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.258...2.0.259 ## 2.0.258 NuGet package: <https://www.nuget.org/packages/Meziantou.Analyzer/2.0.258> **Full Changelog**: meziantou/Meziantou.Analyzer@2.0.257...2.0.258 Commits viewable in [compare view](meziantou/Meziantou.Analyzer@2.0.257...2.0.272). </details> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
This was referenced Jan 10, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current
global_level = -1setting makes it difficult for consumers to inject intermediate configuration layers between the package defaults and their own settings.Changes
DocumentationGenerator/Program.csto setglobal_level = -100instead of-1none.editorconfiganddefault.editorconfigwith the new valueImpact
Consumers can now layer configurations using intermediate levels (e.g.,
-50,-20) between the package defaults (-100) and standard configuration (0):This provides the flexibility requested in the Microsoft docs: EditorConfig global levels
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.