Merge pull request #13027 from hashicorp/backport/fix_golangci_lint/lovely-giving-impala

This pull request was automerged via backport-assistant
backport/plugin_load_spec_docs/notably-correct-platypus
hc-github-team-packer 2 years ago committed by GitHub
commit c87974f216
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -30,7 +30,6 @@ issues:
linters:
disable-all: true
enable:
- deadcode
- errcheck
- goimports
- gosimple
@ -39,7 +38,6 @@ linters:
- staticcheck
- unconvert
- unused
- varcheck
fast: true
# options for analysis running

@ -55,7 +55,7 @@ install-gen-deps: ## Install dependencies for code generation
install-lint-deps: ## Install linter dependencies
@echo "==> Updating linter dependencies..."
@curl -sSfL -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.52.0
@curl -sSfL -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.54.0
dev: ## Build and install a development build
@grep 'const VersionPrerelease = ""' version/version.go > /dev/null ; if [ $$? -eq 0 ]; then \

Loading…
Cancel
Save