X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/80fa33c0fd65e4110f88f0cab9b19ca26c27d1f6..3cdbd017da9ae7a7045f4272f16d4b262fd01c79:/bin/format diff --git a/bin/format b/bin/format index 512aca4..1638d00 100755 --- a/bin/format +++ b/bin/format @@ -7,7 +7,7 @@ files() { git ls-files --cached --others --exclude-standard -- "$@" } -gofumpt -w . +files '*.go' | xargs gofumpt -w files '*.nix' | xargs nixfmt files '*.rst' | xargs rstfmt files '*.md' | xargs mdformat