github.com/dancsecs/gotomd@v0.0.0-20240310162206-65c4805cf510/.golangci.yml (about) 1 linters-settings: 2 lll: 3 line-length: 79 4 tab-width: 4 5 6 depguard: 7 rules: 8 "Main": 9 files: _test.go # Only apply to go test files. 10 allow: 11 - $gostd 12 - github.com/dancsecs/sztest 13 14 varnamelen: 15 ignore-decls: 16 - i int 17 - mi int 18 - ok bool 19 20 linters: 21 enable-all: true 22 disable: 23 - deadcode # Deprecated 24 - exhaustivestruct # Deprecated 25 - golint # Deprecated 26 - ifshort # Deprecated 27 - interfacer # Deprecated 28 - maligned # Deprecated 29 - nosnakecase # Deprecated 30 - scopelint # Deprecated 31 - structcheck # Deprecated 32 - varcheck # Deprecated 33 34 issues: 35 exclude-use-default: false 36 max-issues-per-linter: 0 37 max-same-issues: 0 38 exclude-rules: 39 - path: _test\.go # Exclude on test files. 40 linters: 41 - forbidigo 42 - goconst 43 - paralleltest 44 - wrapcheck 45 46 run: 47 timeout: 5m 48 issues-exit-code: 2 49 go: '1.22'