From 3f0dc691e2248cc21edd2e74a62b8f28ce95559e Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Fri, 30 Jun 2023 00:06:20 +0200 Subject: feat: Add new rule for not so useful optimization --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index c40550f..397ebd3 100644 --- a/Makefile +++ b/Makefile @@ -60,9 +60,14 @@ lint: --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 ./... -- cgit v1.2.3