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

According to [comment in the source](https://github.com/numtide/treefmt/blob/main/src/command/mod.rs#L72), `tree_root` is the directory where `treefmt.toml` is located. In reality, `tree_root`, unless overridden by environment variable, defaults to the current variable, resulting in potentially...

bug

This is output of treefmt run on clean checkout of my $dayjob repository: ``` >> treefmt traversed 3563 files matched 1102 files to formatters left with 0 files after cache...

enhancement

**Is your feature request related to a problem? Please describe.** I would like to be able to reliably tell that all of the files in my repo are covered by...

enhancement

**Is your feature request related to a problem? Please describe.** Sometimes we dont want to format the code in place but have a look at what changes it proposes first....

enhancement

I was notified by some of our users that for instance in the following: ``` [INFO]: #nixpkgs-fmt: 47 files processed in 97.47ms [INFO]: #stylish-haskell: 572 files processed in 21.25s [INFO]:...

**Is your feature request related to a problem? Please describe.** As a (nix-) capability provider to a javascript development team, I want to be able to share the same tooling,...

enhancement

**Is your feature request related to a problem? Please describe.** Treefmt is a great tool, but it doesn't take away the burdon of sourcing the used commands. However, in UX...

enhancement

**Describe the bug** The cache is stored in `~/.cache/treefmt/.toml` (see https://github.com/numtide/treefmt/blob/e51789fe1ed92795c0ba89ca7c74c34acd8b95ca/src/eval_cache.rs#L203) With treefmt-nix, the config file gets a new path on every config change, invalidating the cache entirely. A better...

bug

I have two formatters running against the project where's only one .go file. ``` [formatter.go] command = "gofmt" options = ["-w"] includes = ["*.go"] [formatter.golang] command = "gci" options =...

bug
good first issue

The test coverage could use with some improvement, especially if we want to start making improvements which will require structural changes.

enhancement