Skip to content

Commit

Permalink
Chore: update golangci-lint settings (#377)
Browse files Browse the repository at this point in the history
* remove staticcheck config
  • Loading branch information
xjasonlyu authored Jul 16, 2024
1 parent 592517a commit 7555425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ linters-settings:
- standard
- default
- prefix(github.com/xjasonlyu/tun2socks)
staticcheck:
go: '1.22'
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...

Expand Down

0 comments on commit 7555425

Please sign in to comment.