Skip to content

fix(suppressions): match multiline diagnostic ranges#750

Merged
psteinroe merged 1 commit into
mainfrom
fix/suppresion
May 31, 2026
Merged

fix(suppressions): match multiline diagnostic ranges#750
psteinroe merged 1 commit into
mainfrom
fix/suppresion

Conversation

@psteinroe
Copy link
Copy Markdown
Collaborator

Line suppressions now apply when their target line falls anywhere inside a matching diagnostic span. This lets suppressions placed directly above clauses inside multiline SQL statements suppress statement-level diagnostics, while keeping stacked suppression behavior intact.

Unused Suppressions

Unused suppression detection uses the same target-line and diagnostic-range matching, so valid multiline suppressions no longer produce a misleading unused-suppression warning.

Fixes #747

@psteinroe psteinroe merged commit 83849e4 into main May 31, 2026
9 checks passed
@psteinroe psteinroe deleted the fix/suppresion branch May 31, 2026 19:44
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.

Suppression Comments Maybe Not Working

1 participant