Skip to content

Conversation

sheetalkamat
Copy link
Member

Fixes missing filtering mentioned at #1643 (comment)

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes missing error filtering by comment directives for program diagnostics, specifically ensuring that @ts-ignore and @ts-expect-error directives are respected across all diagnostic sources.

  • Extracts comment directive filtering logic into a reusable function
  • Applies directive filtering to include processor diagnostics that were previously unfiltered
  • Maintains existing behavior for semantic diagnostics while enabling reuse

@sheetalkamat sheetalkamat added this pull request to the merge queue Aug 30, 2025
Merged via the queue into main with commit 0a3c816 Aug 30, 2025
22 checks passed
@sheetalkamat sheetalkamat deleted the commentDirectives branch August 30, 2025 02:08
zshannon pushed a commit to zshannon/typescript-go that referenced this pull request Oct 6, 2025
zshannon pushed a commit to zshannon/typescript-go that referenced this pull request Oct 6, 2025
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.

2 participants