github.com/upyun/upx@v0.4.7-0.20240419023638-b184a7cb7c10/.golangci.yml (about) 1 run: 2 tests: false 3 4 issues: 5 max-issues-per-linter: 0 6 max-same-issues: 0 7 8 linters: 9 # please, do not use `enable-all`: it's deprecated and will be removed soon. 10 # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint 11 disable-all: true 12 enable: 13 - depguard 14 - dogsled 15 - dupl 16 - gochecknoinits 17 - gocyclo 18 - gofmt 19 - goimports 20 - goprintffuncname 21 - govet 22 - misspell 23 - nolintlint 24 - exportloopref 25 - typecheck 26 - unconvert 27 - unparam 28 - whitespace 29 30 linters-settings: 31 depguard: 32 rules: 33 main: 34 allow: 35 - $gostd 36 - github.com 37 test: 38 allow: 39 - $gostd 40 - github.com