mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 03:47:39 +03:00
Update linter configuration
This commit is contained in:
parent
aaaacba916
commit
f845cffeac
5 changed files with 54 additions and 36 deletions
|
@ -3,18 +3,18 @@ linters:
|
|||
enable:
|
||||
- gofumpt
|
||||
- govet
|
||||
# - gci
|
||||
- gci
|
||||
- staticcheck
|
||||
|
||||
issues:
|
||||
exclude-dirs:
|
||||
- internal
|
||||
- paralleltest
|
||||
- ineffassign
|
||||
|
||||
linters-settings:
|
||||
# gci:
|
||||
# sections:
|
||||
# - standard
|
||||
# - prefix(github.com/sagernet/sing)
|
||||
# - default
|
||||
staticcheck:
|
||||
go: '1.19'
|
||||
gci:
|
||||
custom-order: true
|
||||
sections:
|
||||
- standard
|
||||
- prefix(github.com/sagernet/)
|
||||
- default
|
||||
|
||||
run:
|
||||
go: "1.23"
|
Loading…
Add table
Add a link
Reference in a new issue