Skip to content

Commit

Permalink
Update golangci-lint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Aug 18, 2024
1 parent 07c678f commit 7fec8d8
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@ linters:
- gci
- staticcheck
- paralleltest

run:
skip-dirs:
- transport/simple-obfs
- transport/clashssr
- transport/cloudflaretls
- transport/shadowtls/tls
- transport/shadowtls/tls_go119
- ineffassign

linters-settings:
gci:
Expand All @@ -23,4 +16,13 @@ linters-settings:
- prefix(github.com/sagernet/)
- default
staticcheck:
go: '1.20'
checks:
- all
- -SA1003

run:
go: "1.23"

issues:
exclude-dirs:
- transport/simple-obfs

0 comments on commit 7fec8d8

Please sign in to comment.