Skip to content

refactor: use registry for splinter rule categories#722

Merged
psteinroe merged 3 commits intomainfrom
fix/splitter-error-2
Mar 12, 2026
Merged

refactor: use registry for splinter rule categories#722
psteinroe merged 3 commits intomainfrom
fix/splitter-error-2

Conversation

@psteinroe
Copy link
Copy Markdown
Collaborator

  • Replace the hardcoded Splinter rule-to-category match with registry::get_rule_category
  • Fall back to the generic splinter category and emit a warning for unknown rules instead of panicking
  • Remove unused category imports and simplify diagnostic conversion logic

psteinroe and others added 3 commits March 12, 2026 15:13
The test job was missing `components: clippy` in the moonrepo/setup-rust
configuration, causing clippy to not be installed for Rust 1.88.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@psteinroe psteinroe merged commit 064b707 into main Mar 12, 2026
9 checks passed
@psteinroe psteinroe deleted the fix/splitter-error-2 branch March 12, 2026 15:24
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