aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-30 00:06:20 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-30 00:06:20 +0200
commit3f0dc691e2248cc21edd2e74a62b8f28ce95559e (patch)
treef0cfee4893e4e04bf7145962bd68400523083a89
parentb15db59a46557fed62a47845705eadf1d27e4994 (diff)
downloadlens-3f0dc691e2248cc21edd2e74a62b8f28ce95559e.tar.gz
lens-3f0dc691e2248cc21edd2e74a62b8f28ce95559e.tar.bz2
lens-3f0dc691e2248cc21edd2e74a62b8f28ce95559e.zip
feat: Add new rule for not so useful optimization
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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 ./...