-
This tool should encourage all files to be formatted. If a file is not covered, emit a hint, possibly with a recommended tool.
-
**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. We've had bad experience wit…
teto updated
2 months ago
-
Let users know how to install treefmt! :)
-
## Context
Currently testing out the new `pkgs.nixfmt-rfc-style`, and it's taking forever + erroring out since it attempts to format my .gitignored `.direnv/` folder:
```
-> $ nix fmt
nixfmt: …
-
Some developers like to invoke the formatters just before committing the code.
When invoked, it should only format the code that has been staged for the commit and not touch the rest.
This can b…
-
Thanks a lot for kong!
Probably the easiest way to show the issue is an example:
Code: https://gist.github.com/zimbatm/f337bf85dc6806bbc4d72e45d9729be9
```
$ ./foo --help
Usage: foo [flags]…
-
**Describe the bug**
When imported, nix flake show throws an error like: error: The option `perSystem.x86_64-linux.treefmt' is used but not defined.
Running nix flake show again says error: 'check…
-
**Is your feature request related to a problem? Please describe.**
At work we use `treefmt` to call `ormolu` on ~2.5k Haskell files. This takes about 32 seconds.
A natural improvement would be t…
-
**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.n…
-
**Describe the bug**
When you run `treefmt` for the first time, or with a clean cache, it seems to emit a warning for every file in your repository that doesn't have a formatter.
e.g.
```
WARN…