Skip to content

Commit

Permalink
Merge pull request #13027 from hashicorp/backport/fix_golangci_lint/l…
Browse files Browse the repository at this point in the history
…ovely-giving-impala

This pull request was automerged via backport-assistant
  • Loading branch information
hc-github-team-packer authored Jun 7, 2024
2 parents f40dbb5 + 39953e1 commit c87974f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ issues:
linters:
disable-all: true
enable:
- deadcode
- errcheck
- goimports
- gosimple
Expand All @@ -39,7 +38,6 @@ linters:
- staticcheck
- unconvert
- unused
- varcheck
fast: true

# options for analysis running
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c87974f

Please sign in to comment.