linters: enable: - asciicheck - bidichk - bodyclose - deadcode - depguard - dogsled - dupl - durationcheck - errcheck - errchkjson - errorlint - exhaustive - exportloopref - funlen - gochecknoglobals - gochecknoinits - gocognit - goconst - gocritic - gocyclo - godox - gofmt - goimports - gomnd - gomoddirectives - gomodguard - gosec - gosimple - govet - grouper - ifshort - importas - ineffassign - lll - makezero - misspell - nakedret - nestif - nilerr - nilnil - nlreturn - nolintlint - prealloc - predeclared - revive - sqlclosecheck - staticcheck - structcheck - stylecheck - tenv - typecheck - unconvert - unparam - unused - varcheck - wastedassign - whitespace - wsl disable: - noctx - scopelint disable-all: false presets: - bugs - unused fast: false linters-settings: gomnd: ignored-numbers: - '0666' issues: exclude-rules: # Exclude some linters from running on tests files. - path: _test\.go linters: - gochecknoglobals - dupl