-
Since the addition of the --hidden flag missed the 6.1 release by 1 day (#250), it would be great if a new version could be released. (I've resorted to building treefmt locally in my flake for now, bu…
-
Similar to how we got rid of `./treefmt.toml` in https://github.com/srid/haskell-template/pull/75 - get rid of `fourmolu.yaml` by nixifying that configuration.
srid updated
4 months ago
-
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]…
-
Putting auto-formatting on a per commit basis would save the developer time resolving formatting issues due to failing CI.
Getting something like the following in a githook would suffice:
`nix de…
-
**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**
If you make a git branch/tag whose name ends in .nix, git creates files like `.git/refs/heads/add-stuff-to-default.nix` that don't contain nix code but end up being "formatted"…
-
**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…
-
**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**
See https://github.com/numtide/treefmt/issues/274 for more info, but the short version is that `--stdin` doesn't work as it's supposed to.
-
It'd be really great if I could hook up a GitHub Action with nixfmt so it provided annotations to the code about reformatting that needs doing.