feat: Add new rule for not so useful optimization
diff --git a/Makefile b/Makefile index c40550f3511468aef34845a655475bfd1feb8f26..397ebd3f43fff5b73d65830d2e445cfc8c60fb53 100644 --- a/Makefile +++ b/Makefile @@ -60,9 +60,14 @@ --config golangci.yml \ --verbose \ ./... +fix: gci alignment + gci: find . \ -type f \ -name "*.go" \ -not -path "./vendor/*" \ -exec gci write -s standard -s default -s "prefix(git.sr.ht/~gabrielgio/img)" {} + + +alignment: + betteralign -apply ./...