treefmt
treefmt copied to clipboard
one CLI to format your repo
For many uses of submodules the project doesn't necessarily own the rights to the submodule directory so formatting it is just a waste of time since the code cannot be...
This part of the formatter spec is problematic: > If, **and only if,** a file format has changed, the formatter MUST write the new content in place of the original...
**Describe the bug** Recently I encountered an issue where shellcheck got upgraded (through a nixpkgs bump), but treefmt's eval cache didn't get invalidated. **To Reproduce** Treefmt tracks the mtime of...
**Describe the bug** Unable to enter the the dev shell on an M1 MacBook Pro **To Reproduce** Steps to reproduce the behavior: 1. Get yourself an M1 MacBook Pro, however...
**Describe the bug** `cue fmt` doesn't respect the treefmt spec and writes to the file, even if no changes occurred in the formatting. **To Reproduce** Run `cue fmt somefile.cue &&...
In some cases, developers might want to run a sequence of formatters for the same file type. For example, re-order the import headers with one tool, and then use the...
Unlike formatters, multiple linters can be executed for a single file. Linters sometimes also write back fixes to the file. The config format has rooms for a `[linters.]` section. This...
**Is your feature request related to a problem? Please describe.** This is a follow-up on #10 . In ab23c9f73ef878e28f070698f8328e2e9f547a16 I limited the number of arguments to 1024, which is a...
If `includes` are missing this should be probably a warning. _Originally posted by @Mic92 in https://github.com/numtide/treefmt/pull/114#discussion_r641888894_
**Is your feature request related to a problem? Please describe.** The current stats output is too verbose. The user mostly cares about the number of changed files. And maybe how...