Skip to content

refactor: pass formatter instance context explicitly#23020

Open
kitlangton wants to merge 1 commit intodevfrom
kit/format-instance-context
Open

refactor: pass formatter instance context explicitly#23020
kitlangton wants to merge 1 commit intodevfrom
kit/format-instance-context

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • thread { directory, worktree } into formatter enablement checks instead of reading ambient Instance.* state in formatter.ts
  • keep the existing formatter selection and config override behavior unchanged by passing the current instance context from Format.state

Testing

  • bun typecheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant