add 'make lintfix' command

This commit is contained in:
Denis Bilenko 2024-12-04 14:40:21 +01:00
parent 5479cf2eda
commit e852499473
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ lint: vendor
@echo "✓ Linting source code with https://golangci-lint.run/ ..." @echo "✓ Linting source code with https://golangci-lint.run/ ..."
@golangci-lint run ./... @golangci-lint run ./...
lintfix: vendor
@echo "✓ Linting source code with 'golangci-lint run --fix' ..."
@golangci-lint run --fix ./...
test: lint testonly test: lint testonly
testonly: testonly: