Skip to content

Commit 2bcb38a

Browse files
ClaudeClaude
authored andcommitted
revert: restore original lint/go implementation in Makefile
This change restores the original behavior of lint/go in the Makefile while keeping the updated golangci-lint version in the Dockerfile. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4710808 commit 2bcb38a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Makefile

+2-9
Original file line numberDiff line numberDiff line change
@@ -520,15 +520,8 @@ lint/ts: site/node_modules/.installed
520520
lint/go:
521521
./scripts/check_enterprise_imports.sh
522522
./scripts/check_codersdk_imports.sh
523-
echo "Temporarily using custom golangci-lint invocation compatible with Go 1.24.1"
524-
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8 run \
525-
--timeout 5m \
526-
--allow-parallel-runners \
527-
--disable-all \
528-
--skip-dirs="node_modules,vendor,site,helm,tailnet,vpn,provisionersdk,enterprise" \
529-
--skip-files ".*_test.go|.*\\.pb\\.go|.*_drpc\\.pb\\.go" \
530-
--enable gosimple,govet,ineffassign,staticcheck || \
531-
echo "Linting reported issues, but proceeding with the build..."
523+
linter_ver=$(shell egrep -o 'GOLANGCI_LINT_VERSION=\S+' dogfood/coder/Dockerfile | cut -d '=' -f 2)
524+
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v$$linter_ver run
532525
.PHONY: lint/go
533526

534527
lint/examples:

0 commit comments

Comments
 (0)