Skip to content

Conversation

@devspaceship
Copy link
Contributor

@devspaceship devspaceship commented Jan 15, 2026

Add support for the Trunk meta formatter.

Closes #849

@github-actions github-actions bot requested a review from stevearc January 15, 2026 20:01
Comment on lines 12 to 14
cwd = util.root_file({
".trunk/trunk.yaml",
}),
Copy link
Owner

Choose a reason for hiding this comment

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

I believe this will cause the cwd to evaluate to the .trunk directory, which might cause some problems. Is there any issue with just using the .trunk directory itself as the root file?

Copy link
Contributor Author

@devspaceship devspaceship Jan 17, 2026

Choose a reason for hiding this comment

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

Good point, I did further testing and actually realized that there was no need for conform to change working directory. I guess trunk has its own internal logic resolving the config.

@github-actions github-actions bot requested a review from stevearc January 17, 2026 08:29
@stevearc
Copy link
Owner

LGTM thanks!

@stevearc stevearc merged commit 92f4c3b into stevearc:master Jan 18, 2026
8 checks passed
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.

feature request: Support for Trunk universal formatter

2 participants