run:
    timeout: 5m

linters-settings:
    gci:
        local-prefixes: github.com/spf13/viper
    golint:
        min-confidence: 0
    goimports:
        local-prefixes: github.com/spf13/viper

linters:
    disable-all: true
    enable:
        - bodyclose
        - deadcode
        - dogsled
        - dupl
        - exhaustive
        - exportloopref
        - gci
        - goconst
        - gofmt
        - gofumpt
        - goimports
        - golint
        - goprintffuncname
        - govet
        - ineffassign
        - misspell
        - nakedret
        - noctx
        - nolintlint
        - prealloc
        - rowserrcheck
        - sqlclosecheck
        - staticcheck
        - structcheck
        - stylecheck
        - typecheck
        - unconvert
        - unparam
        - unused
        - varcheck
        - whitespace

        # fixme
        # - errcheck
        # - gochecknoglobals
        # - gochecknoinits
        # - gocognit
        # - gocritic
        # - gocyclo
        # - godot
        # - gosec
        # - gosimple
        # - lll
        # - nlreturn
        # - scopelint

        # unused
        # - depguard
        # - goheader
        # - gomodguard

        # don't enable:
        # - asciicheck
        # - funlen
        # - godox
        # - goerr113
        # - gomnd
        # - interfacer
        # - maligned
        # - nestif
        # - testpackage
        # - wsl
