Chore: update golangci-lint settings (#377)

* remove staticcheck config
This commit is contained in:
Jason Lyu
2024-07-16 10:32:59 +08:00
committed by GitHub
parent 592517a00d
commit 7555425ab8
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -19,5 +19,3 @@ linters-settings:
- standard - standard
- default - default
- prefix(github.com/xjasonlyu/tun2socks) - prefix(github.com/xjasonlyu/tun2socks)
staticcheck:
go: '1.22'
+2 -2
View File
@@ -167,9 +167,9 @@ all-arch: $(UNIX_ARCH_LIST) $(WINDOWS_ARCH_LIST)
releases: $(unix_releases) $(windows_releases) releases: $(unix_releases) $(windows_releases)
lint: lint:
GOOS=darwin golangci-lint run ./... GOOS=darwin golangci-lint run ./...
GOOS=windows golangci-lint run ./... GOOS=windows golangci-lint run ./...
GOOS=linux golangci-lint run ./... GOOS=linux golangci-lint run ./...
GOOS=freebsd golangci-lint run ./... GOOS=freebsd golangci-lint run ./...
GOOS=openbsd golangci-lint run ./... GOOS=openbsd golangci-lint run ./...