treefmt icon indicating copy to clipboard operation
treefmt copied to clipboard

one CLI to format your repo

Results 62 treefmt issues
Sort by recently updated
recently updated
newest added

## Rationale Currently, we can use `treefmt --init` to create a barebone template of `treefmt.toml`. But it's a very empty one, having later to customize it by the user. A...

enhancement

## Rationale Sometimes, you want to exclude directories that don't belong to any specific language but rather because you don't want `treefmt` to traverse those. ~~As far as I'm aware,...

enhancement

**Is your feature request related to a problem? Please describe.** When the `--config-file` is passed, treefmt doesn't know how to find the project root anymore. We can pass the `--project-root`...

enhancement

**Describe the bug** I'm trying to run selected formatters of the ones declared in my treefmt.toml, I get "One or more formatters missing" **To Reproduce** following `treefmt.toml` ```toml [formatter.nix] command...

bug

**Describe the bug** I just switched to the new release treefmt v2.0.2 and I am experiencing some weird issues with the `--fail-on-change` flag. I am running `treefmt` via pre-commit ([git-hooks.nix](https://github.com/cachix/git-hooks.nix))....

bug

**Is your feature request related to a problem? Please describe.** There is no easy to to run treefmt inside of github actions without using nix. **Describe the solution you'd like**...

enhancement

Controls the max number of paths to batch up before applying them to a sequence of formatters. Works through a `--batch-size` cli arg or via config: ```toml [global] batch_size =...

**Is your feature request related to a problem? Please describe.** Currently, all batching is hard coded to a maximum of `1024`. In certain circumstances, it might be beneficial to specify...

enhancement
good first issue

**Is your feature request related to a problem? Please describe.** With Buildbot, we build and test on `x86_64-linux`, `aarch64-linux`, and `aarch64-darwin` by default. Goreleaser is currently configured to produce artefacts...

enhancement
good first issue
help wanted

**Describe the bug** I decided to try using go-based treefmt to see if it doesn't have issues with formatting hidden files and I noticed that while it now works with...

bug