Browse Source
Chore: update golangci-lint settings (#377)
* remove staticcheck config
pull/380/head
Jason Lyu
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
4 deletions
-
.golangci.yaml
-
Makefile
|
|
@ -19,5 +19,3 @@ linters-settings: |
|
|
|
- standard |
|
|
|
- default |
|
|
|
- prefix(github.com/xjasonlyu/tun2socks) |
|
|
|
staticcheck: |
|
|
|
go: '1.22' |
|
|
|
|
|
@ -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 ./... |
|
|
|
|
|
|
|