-
It seems that we are only using a single thread when formatting tons of files. But this can be trivially parallelized. This should also ease the adoption of format-checking in git commit hook as menti…
-
Forked from discussion in https://github.com/numtide/treefmt/issues/336.
> When treefmt says it matched a file, that means 3495 files matched at least one of the includes globs for a formatter. It …
-
I am not sure if this is intended or not, but hidden files are not formatted while running `treefmt` in the project root directory. I do not see why hidden files, which are generally configuration fil…
-
Common linter integrations like [treefmt](https://github.com/numtide/treefmt) pass the files that should be formatted as arguments to a formatter. Would be great if just could support this for easy in…
-
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…
-
**Describe the bug**
When a file is explicitly excluded from linting, be it with a `global` or formatter-specific exclude, it gets reported when running `treefmt` with a `no formatter for path`. Wh…
-
I use [treefmt](https://github.com/numtide/treefmt) for formatting large code bases and incorporating multiple linters into one tool.
Treefmt requires that formatters/linters accept multiple argument…
-
mf@Michis:~/nixkell$ niv update
Updating all packages
Package: nixpkgs
Package: gitignore
Package: treefmt
FATAL: Could not read the output of 'git'.
command: git ls-remote git@github.…
-
## 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 better approach could …
-
Follow-up to #103
When using the `prettier` formatter, how do we actually use the `plugins` option?
With
```nix
programs.prettier.settings = {
plugins = [ "prettier-plugin-tailwindcss" …