From 7555425ab811833a54f3bdb1b856103859270448 Mon Sep 17 00:00:00 2001 From: Jason Lyu Date: Mon, 15 Jul 2024 22:32:59 -0400 Subject: [PATCH] Chore: update golangci-lint settings (#377) * remove staticcheck config --- .golangci.yaml | 2 -- Makefile | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 4d6405e..39354b4 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -19,5 +19,3 @@ linters-settings: - standard - default - prefix(github.com/xjasonlyu/tun2socks) - staticcheck: - go: '1.22' diff --git a/Makefile b/Makefile index e661ca5..c306e5a 100644 --- a/Makefile +++ b/Makefile @@ -167,9 +167,9 @@ all-arch: $(UNIX_ARCH_LIST) $(WINDOWS_ARCH_LIST) releases: $(unix_releases) $(windows_releases) lint: - GOOS=darwin golangci-lint run ./... + GOOS=darwin golangci-lint run ./... GOOS=windows golangci-lint run ./... - GOOS=linux golangci-lint run ./... + GOOS=linux golangci-lint run ./... GOOS=freebsd golangci-lint run ./... GOOS=openbsd golangci-lint run ./...