8000 Parse lint directives across whitespace by dajiaohuang · Pull Request #1804 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Parse lint directives across whitespace - #1804

Closed
dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/lint-directive-whitespace
Closed

dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/lint-directive-whitespace

Conversation

@dajiaohuang
Copy link
Copy Markdown

Parse directive arguments using Go's whitespace splitting rules. The current literal-space split mishandles repeated spaces and tabs, causing valid suppression directives to be ignored. Add regression coverage for both forms.

@dajiaohuang dajiaohuang closed this Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0