Skip to content

Filter built-in and linter diagnostics uniformly - #1018

Merged
vinistock merged 1 commit into
mainfrom
vs_unify_diagnostic_filtering
Aug 20, 2026
Merged

Filter built-in and linter diagnostics uniformly#1018
vinistock merged 1 commit into
mainfrom
vs_unify_diagnostic_filtering

Conversation

@vinistock

Copy link
Copy Markdown
Member

Closes #1000

This PR unifies the diagnostic filtering, so that built-in (graph) and linter diagnostics are treated consistently.

I also noticed that we were filtering based on path exclusions/inclusions separately 3 times, so I simplified the code to do it within the same loop, which is a bit easier to follow.

Lastly, I also renamed the glob flags constant. Not sure why we had a RUBOCOP prefix, but we can probably remove it.

@vinistock vinistock self-assigned this Aug 19, 2026
@vinistock
vinistock requested a review from a team as a code owner August 19, 2026 21:23
Comment thread lib/rubydex/linter/runner.rb
Base automatically changed from vs_remove_severity_from_diagnostic to main August 20, 2026 16:59
@vinistock
vinistock force-pushed the vs_unify_diagnostic_filtering branch from 5c7785a to b51ec64 Compare August 20, 2026 17:08
@vinistock
vinistock requested a review from Morriar August 20, 2026 17:08
@vinistock
vinistock merged commit 97b8a6c into main Aug 20, 2026
30 checks passed
@vinistock
vinistock deleted the vs_unify_diagnostic_filtering branch August 20, 2026 18:31
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.

3 participants