one CLI to format your repo (Go re-write)
This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Brian McGee 5711caebb9 feat: support .gitignore files (#19)
Introduces a `--walk` flag which can be used to tell `treefmt` how to traverse the directory specified by `--tree-root`.

By default, it will attempt to use `git ls-files`. If this fails, it falls back to using the filesystem.

You can explicitly traverse the filesystem instead of using git by providing `--walk filesystem`.

Close #1

Reviewed-on: #19
Reviewed-by: Jonas Chevalier <zimbatm@noreply.git.numtide.com>
Co-authored-by: Brian McGee <brian@bmcgee.ie>
Co-committed-by: Brian McGee <brian@bmcgee.ie>
2024-01-11 20:52:22 +00:00
internal feat: support .gitignore files (#19) 2024-01-11 20:52:22 +00:00
nix feat: support .gitignore files (#19) 2024-01-11 20:52:22 +00:00
test feat: allow missing formatters (#6) 2023-12-23 15:00:39 +00:00
.envrc feat: initial import 2023-12-23 12:50:51 +00:00
.gitignore feat: initial import 2023-12-23 12:50:51 +00:00
flake.lock feat: initial import 2023-12-23 12:50:51 +00:00
flake.nix feat: initial import 2023-12-23 12:50:51 +00:00
go.mod feat: support .gitignore files (#19) 2024-01-11 20:52:22 +00:00
go.sum feat: support .gitignore files (#19) 2024-01-11 20:52:22 +00:00
gomod2nix.toml feat: support .gitignore files (#19) 2024-01-11 20:52:22 +00:00
LICENSE.md fix: license contributors 2023-12-23 13:33:37 +00:00
main.go feat: change module root to git.numtide.com 2023-12-23 13:39:16 +00:00