run:
  timeout: 10m

linters-settings:
  goimports:
    local-prefixes: vitess.io/vitess

linters:
  disable-all: true
  enable:
    # Defaults
    - deadcode
    # - errcheck
    - gosimple
    - govet
    - ineffassign
    - staticcheck
    - structcheck
    - typecheck
    - varcheck

    # Extras
    - gofmt
    - goimports

# https://github.com/golangci/golangci/wiki/Configuration
service:
  golangci-lint-version: 1.31.0 # use the fixed version to not introduce new linters unexpectedly

run:
  timeout: 10m

linters-settings:
  goimports:
    local-prefixes: vitess.io/vitess

linters:
  disable-all: true
  enable:
    # Defaults
    - deadcode
    # - errcheck
    - gosimple
    - govet
    - ineffassign
    - staticcheck
    - structcheck
    - typecheck
    - varcheck

    # Extras
    - gofmt
    - goimports

issues:
  exclude-rules:
    - path: '^go/vt/proto/'
      linters:
      - goimports

# https://github.com/golangci/golangci/wiki/Configuration
service:
  golangci-lint-version: 1.31.0 # use the fixed version to not introduce new linters unexpectedly

Exclude protoc-gen-go generated files from the linter goimports check
Exclude protoc-gen-go generated files from the linter goimports check

Signed-off-by: Andrew Mason <8a240ff75aa1467ba5eba4db0c8200b61262547e@slack-corp.com>
