github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/.golangci.yml (about) 1 2 linters: 3 disable-all: true 4 enable: 5 - deadcode 6 - errcheck 7 - gosimple 8 - govet 9 - ineffassign 10 - staticcheck 11 - structcheck 12 - unused 13 - varcheck 14 - bodyclose 15 - cyclop 16 - durationcheck 17 - errname 18 - errorlint 19 - exportloopref 20 - goimports 21 - gocritic 22 - gosec 23 24 linters-settings: 25 cyclop: 26 max-complexity: 18 27 gocritic: 28 disabled-checks: 29 - singleCaseSwitch 30 31 issues: 32 exclude-rules: 33 - path: "." 34 linters: 35 - typecheck 36 - path: rules/ 37 linters: 38 - gosec 39 - path: pkg/scanners/terraform/parser/funcs/ 40 linters: 41 - cyclop 42 - errorlint 43 - gocritic 44 - gosec