mirror of
https://github.com/Adembc/lazyssh.git
synced 2026-07-14 12:13:34 +02:00
configure lint and fix its problems
This commit is contained in:
@@ -40,7 +40,7 @@ $(LOCALBIN):
|
||||
mkdir -p $(LOCALBIN)
|
||||
|
||||
# Tool versions
|
||||
GOLANGCI_LINT_VERSION ?= v1.61.0
|
||||
GOLANGCI_LINT_VERSION ?= v1.64.2
|
||||
GOFUMPT_VERSION ?= v0.7.0
|
||||
STATICCHECK_VERSION ?= 2024.1.1
|
||||
|
||||
@@ -95,7 +95,7 @@ vet: ## Run go vet against code
|
||||
go vet ./...
|
||||
|
||||
.PHONY: lint
|
||||
lint: golangci-lint ## Run golangci-lint linter
|
||||
lint: golangci-lint fmt ## Run golangci-lint linter
|
||||
$(GOLANGCI_LINT) run
|
||||
|
||||
.PHONY: lint-fix
|
||||
|
||||
Reference in New Issue
Block a user