mirror of
https://github.com/numtide/treefmt.git
synced 2024-08-16 20:30:25 +03:00
This was incorrectly ported from Rust to Go. When `--stdin` is provided, `treefmt` copy the `stdin` into a temporary file, using the first path argument as the filename. This allows the user to control which formatters will match this temp file based on their `treefmt` config. After the formatters have been applied, the contents of this temporary file are then printed to stdout and the temp file is removed. Signed-off-by: Brian McGee <brian@bmcgee.ie> |
||
---|---|---|
.. | ||
elm | ||
go | ||
haskell | ||
haskell-frontend | ||
html | ||
javascript/source | ||
nix | ||
python | ||
ruby | ||
rust | ||
shell | ||
terraform | ||
nixpkgs.toml | ||
touch.toml | ||
treefmt.toml |