script: yaml formatting (#261)

This commit is contained in:
Michael McLoughlin
2022-04-24 12:54:07 -07:00
committed by GitHub
parent f1f7d93959
commit 96c4d85995
8 changed files with 94 additions and 108 deletions

View File

@@ -20,3 +20,6 @@ go install golang.org/x/tools/cmd/goimports@v0.1.10
# gofumpt for stricter formatting.
go install mvdan.cc/gofumpt@v0.2.1
# yamlfmt for yaml formatting.
go install github.com/gechr/yamlfmt@v0.0.0-20220216093356-e9288cd48d12

View File

@@ -16,3 +16,6 @@ goimports -w -local "${repo}" ${files}
# gofumpt for stricter gofmt-compatible format.
gofumpt -w ${files}
# yaml formatting.
find . -name '*.yml' | xargs yamlfmt -w