Repository navigation
Reduce lint noise on real .NET servers - #17
Merged
Merged
Conversation
MCPP010 skips [T, null] nullable unions. MCPP005/006 report nothing on a tie and name what is mixed. MCPP002 also needs fewer than 4 words. MCPP007 skips value/data on create/set/publish tools.
Merged
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
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.
Cuts lint noise found by running McpProbe on real .NET MCP servers (RoslynCodeLens, Azure MCP, Microsoft Learn, csharp-sdk samples).
[T, "null"]unions, which the C# SDK emits for everyT?. Real unions still fire, with a shorter message.mixed ('_' and '-').LintOptions.MinToolDescriptionWords, 0 restores the old check), so "Delete a file share" is fine.value/data/payloadon create/set/publish-style tools (LintOptions.PayloadContextTokens).Before/after with
--strict: RoslynCodeLens 63 -> 0, Microsoft Learn 4 -> 0, Azure MCP (407 tools) 173 -> 47.