X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/80fa33c0fd65e4110f88f0cab9b19ca26c27d1f6..HEAD:/bin/format?ds=inline 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