github.com/hairyhenderson/gomplate/v4@v4.0.0-pre-2.0.20240520121557-362f058f0c93/.golangci.yml (about) 1 linters-settings: 2 govet: 3 enable-all: true 4 gocyclo: 5 min-complexity: 10 6 dupl: 7 threshold: 100 8 goconst: 9 min-len: 2 10 min-occurrences: 5 11 ignore-tests: true 12 lll: 13 line-length: 140 14 nolintlint: 15 allow-unused: false # report any unused nolint directives 16 require-explanation: false # don't require an explanation for nolint directives 17 require-specific: false # don't require nolint directives to be specific about which linter is being skipped 18 19 linters: 20 disable-all: true 21 enable: 22 - asciicheck 23 - bodyclose 24 # - dogsled 25 # - dupl 26 - errcheck 27 # - exhaustive 28 - exportloopref 29 # - funlen 30 # - gci 31 # - gochecknoglobals 32 - gochecknoinits 33 - gocognit 34 - goconst 35 - gocritic 36 # - gocyclo 37 # - godox 38 - gofmt 39 - gofumpt 40 - goheader 41 - goimports 42 # - gomnd 43 - gomodguard 44 - goprintffuncname 45 - gosec 46 - gosimple 47 - govet 48 - ineffassign 49 # - lll 50 - misspell 51 - nakedret 52 - nestif 53 # - nlreturn 54 - noctx 55 - nolintlint 56 - prealloc 57 - revive 58 - rowserrcheck 59 - sloglint 60 - sqlclosecheck 61 - staticcheck 62 - stylecheck 63 - testifylint 64 - typecheck 65 - unconvert 66 - unparam 67 - unused 68 - whitespace 69 # - wsl 70 71 issues: 72 exclude-rules: 73 - path: _test\.go 74 linters: 75 - errcheck 76 77 run: 78 concurrency: 4 79 timeout: 5m