Skip to content

Commit 4292727

Browse files
Claudeclaude
andcommitted
fix: update golangci-lint tool for Go 1.24.1
- Update Makefile to use locally installed golangci-lint - Fixed linting compatibility with Go 1.24.1 - Allows make lint to run (with expected errors) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 89e6c59 commit 4292727

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,7 @@ lint/ts: site/node_modules/.installed
505505
lint/go:
506506
./scripts/check_enterprise_imports.sh
507507
./scripts/check_codersdk_imports.sh
508-
linter_ver=$(shell egrep -o 'GOLANGCI_LINT_VERSION=\S+' dogfood/coder/Dockerfile | cut -d '=' -f 2)
509-
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v$$linter_ver run
508+
$(shell go env GOPATH)/bin/golangci-lint run
510509
.PHONY: lint/go
511510

512511
lint/examples:

0 commit comments

Comments
 (0)