mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
Chore: update golangci-lint settings (#377)
* remove staticcheck config
This commit is contained in:
@@ -19,5 +19,3 @@ linters-settings:
|
|||||||
- standard
|
- standard
|
||||||
- default
|
- default
|
||||||
- prefix(github.com/xjasonlyu/tun2socks)
|
- 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)
|
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 ./...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user