Browse Source

Chore: update golangci-lint settings (#377)

* remove staticcheck config
pull/380/head
Jason Lyu 4 months ago
committed by GitHub
parent
commit
7555425ab8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .golangci.yaml
  2. 4
      Makefile

2
.golangci.yaml

@ -19,5 +19,3 @@ linters-settings:
- standard
- default
- prefix(github.com/xjasonlyu/tun2socks)
staticcheck:
go: '1.22'

4
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 ./...

Loading…
Cancel
Save