treefmt
treefmt copied to clipboard
one CLI to format your repo [maintainers=@zimbatm,@brianmcgee]
Partial implementation of #523. Signed-off-by: Brian McGee
We currently point treefmt-nix to treefmt.com but there's no mention of how to use treefmt with treefmt-nix 🤦♂
I've seen CI sporadically fail on darwin. Re-running passes. Seems we have a brittle test. Investigate.
**Is your feature request related to a problem? Please describe.** When using `treefmt` in a project for quite a while some configuration can get quite stale. Unmatched files are already...
**Is your feature request related to a problem? Please describe.** When using `treefmt` I am always trying to autocomplete flags. Especially when setting `treefmt --formatters [FORMATTER..]`. **Describe the solution you'd...
**Is your feature request related to a problem? Please describe.** When a Git branch is getting formatted, it can cause merge conflicts for other branches. These merge conflicts can in...
I haven't added tests, but I'll add if this feature is deemed desirable.
**Is your feature request related to a problem? Please describe.** Yes, currently treefmt requires manual execution to format the code. **Describe the solution you'd like** I propose to add a...
Same behavior as any formatter's `--check` flag. If the formatter does not provide a `--check` flag, the formatting could be done to a temp location and a diff helper could...