Describe the bug
Basically, the way treefmt globs files, you need both **/filename and filename if the file could be in the repo root.
To Reproduce
Steps to reproduce the behavior:
- Check out
skills-flake commit 703380e
- Run
nix fmt
skills-flake.lock.json is formatted
Expected behavior
skills-flake.lock.json is not formatted.
System information
Treefmt 2.5.0 via Nix.
Fine if this is expected behavior, just surprising and not documented anywhere.
Describe the bug
Basically, the way
treefmtglobs files, you need both**/filenameandfilenameif the file could be in the repo root.To Reproduce
Steps to reproduce the behavior:
skills-flakecommit703380enix fmtskills-flake.lock.jsonis formattedExpected behavior
skills-flake.lock.jsonis not formatted.System information
Treefmt
2.5.0via Nix.Fine if this is expected behavior, just surprising and not documented anywhere.