github.com/jfrog/jfrog-cli-platform-services@v1.2.0/.golangci.yml (about) 1 # Options for analysis running 2 # More info could be found at https://golangci-lint.run/usage/configuration/ 3 run: 4 # timeout for analysis, e.g. 30s, 5m, default is 1m 5 timeout: 5m 6 modules-download-mode: readonly 7 8 # List of useful linters could be found at https://github.com/golangci/awesome-go-linters 9 linters: 10 disable-all: true 11 enable: 12 - errcheck 13 - exportloopref 14 # - depguard 15 # - gci 16 - gofumpt 17 - goimports 18 - gosimple 19 - govet 20 - ineffassign 21 - makezero 22 - megacheck 23 - misspell 24 - noctx 25 - nolintlint 26 # - revive 27 - rowserrcheck 28 - sqlclosecheck 29 - staticcheck 30 # - stylecheck 31 - unconvert 32 - unused 33 - wastedassign 34 35 linters-settings: 36 staticcheck: 37 # https://staticcheck.io/docs/options#checks 38 checks: [ "all","-SA1019","-SA1029" ] 39 40 issues: 41 exclude-use-default: false 42 # Maximum issues count per one linter. Set to 0 to disable. Default is 50. 43 max-issues-per-linter: 0 44 # Maximum count of issues with the same text. Set to 0 to disable. Default is 3. 45 max-same-issues: 0