Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2bcb38a

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 parent4710808 commit2bcb38a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

‎Makefile

Lines changed: 2 additions & 9 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp