issues:
  max-per-linter: 0
  max-same-issues: 0

linters:
  disable-all: true
  enable:
    - deadcode
    - errcheck
    - gofmt
    - gosimple
    - ineffassign
    - misspell
    # Run separately for TravisCI memory issues
    # - staticcheck
    - structcheck
    - unconvert
    - unused
    - varcheck
    - vet

linters-settings:
  errcheck:
    ignore: github.com/hashicorp/terraform/helper/schema:ForceNew|Set,fmt:.*,io:Close

run:
  deadline: 5m
  modules-download-mode: vendor

issues:
  max-per-linter: 0
  max-same-issues: 0

linters:
  disable-all: true
  enable:
    - deadcode
    - errcheck
    - gofmt
    - gosimple
    - ineffassign
    - misspell
    # Run separately for TravisCI memory issues
    # - staticcheck
    - structcheck
    - unconvert
    - unused
    - varcheck
    - vet

linters-settings:
  errcheck:
    ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close

run:
  deadline: 5m
  modules-download-mode: vendor

Update errcheck ignore from github.com/hashicorp/terraform to github.com/hashicorp/terraform-plugin-sdk
tests/provider: Update errcheck ignore from github.com/hashicorp/terraform to github.com/hashicorp/terraform-plugin-sdk

Reference: https://www.terraform.io/docs/extend/plugin-sdk.html
