From e8524994736a8a1b4f21d68c459514c4a7bd43b7 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Wed, 4 Dec 2024 14:40:21 +0100 Subject: [PATCH] add 'make lintfix' command --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7f4c131009..13787fdda1 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,10 @@ lint: vendor @echo "✓ Linting source code with https://golangci-lint.run/ ..." @golangci-lint run ./... +lintfix: vendor + @echo "✓ Linting source code with 'golangci-lint run --fix' ..." + @golangci-lint run --fix ./... + test: lint testonly testonly: