Skip to content

More precise format mutations - #94

Merged
bearfriend merged 2 commits into
mainfrom
format-api
Oct 25, 2026
Merged

bearfriend merged 2 commits into
mainfrom
format-api

Conversation

@bearfriend

Copy link
Copy Markdown
Owner

Currently, formatting rewrites the entire message, with many "essential" changes forced in that rewrite. This is good when running format to make standardizing messages less tedious. However, for fixing individual issues found in a reporter, these essentials are too disruptive (and unexpected).

  • Split up "essential" fixes and expose them as options, all defaulting on
  • Split formatting into an async setup shell function for the CLI that then calls a synchronous format API to do the actual work. This again better supports language servers that can fix more targeted issues within messages.

@bearfriend
bearfriend merged commit a302442 into main Oct 25, 2026
1 check passed
@bearfriend
bearfriend deleted the format-api branch October 25, 2026 16: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.

1 participant