auto format PRs #306
debkanchan
started this conversation in
Feature Requests
Replies: 2 comments 1 reply
-
The offending file is usually package.json |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think the main challenge to this, as we discussed with the team, is that it becomes a hot mess and really difficult for your human-generated PRs. The formatter ends up being run on every push and that can be really wasteful. Do you want this to be enabled for specific types of PRs? Filtered by contributor? Title? Do you want this to be run manually? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get a lot of dependabot/renovate PRs. 60% of the time trunk check fails and yells incorrect formatting. I have pre-commit hook to auto format but that only works locally. I need trunk to auto format PRs also.
Beta Was this translation helpful? Give feedback.
All reactions