Skip to content

Conversation

0xrusowsky
Copy link
Contributor

@0xrusowsky 0xrusowsky commented Oct 2, 2025

Motivation

now that solar v0.1.8 has been released, we can use solar's built-in code suggestion rather than having to manually handle that.

closes #11582

Solution

  • deprecate Snippet in favor of a new type Suggestion
  • update fn emit_with_fix() to use the new solar API

additionally, i added inline suggestions for naming-related lints

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

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

also need to update

It helps enforce best practices and improve code quality within Foundry projects.

@0xrusowsky 0xrusowsky requested a review from onbjerg October 2, 2025 13:25
@0xrusowsky 0xrusowsky enabled auto-merge (squash) October 2, 2025 13:34
0xrusowsky and others added 3 commits October 2, 2025 16:59
Co-authored-by: onbjerg <onbjerg@users.noreply.github.com>
Co-authored-by: onbjerg <onbjerg@users.noreply.github.com>
@0xrusowsky 0xrusowsky requested a review from onbjerg October 2, 2025 14:59
@0xrusowsky 0xrusowsky merged commit 3fc0267 into master Oct 2, 2025
16 checks passed
@0xrusowsky 0xrusowsky deleted the rusowsky/diag-suggestions branch October 2, 2025 15:18
@github-project-automation github-project-automation bot moved this to Done in Foundry Oct 2, 2025
@0xrusowsky 0xrusowsky added this to the v1.5.0 milestone Oct 6, 2025
@grandizzy grandizzy moved this from Done to Completed in Foundry 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
Status: Completed
Development

Successfully merging this pull request may close these issues.

chore(lint): use solar's built in code suggestions
2 participants