github.com/benz9527/xboot@v0.0.0-20240504061247-c23f15593274/.golangci.yml (about) 1 linters: 2 enable-all: false 3 disable-all: true 4 fast: true 5 enable: 6 - gofmt 7 - goconst 8 - gocyclo 9 - wastedassign 10 - errcheck 11 - ineffassign 12 - unused 13 - exportloopref 14 linters-settings: 15 goconst: 16 min-len: 2 17 min-occurrences: 3 18 govet: 19 check-shadowing: true 20 enable: 21 - nilness 22 - fieldalignment 23 run: 24 timeout: "5m" 25 concurrency: 4 26 issues-exit-code: 2 27 tests: true 28 skip-dirs-use-default: true 29 skip-files: 30 - ".*\\.md$" 31 allow-parallel-runners: true 32 allow-serial-runners: true 33 print-resources-usage: false 34 show-stats: true 35 go: "1.22"