updated linter config

This commit is contained in:
kjubybot
2022-07-20 17:37:09 +03:00
parent 1245dd17f2
commit f06aa41b96

View File

@@ -5,7 +5,7 @@ linters:
- dogsled
- errorlint
- exportloopref
- gocognit
#- gocognit - disabled till better times
- goconst
- gocyclo
- gosec
@@ -20,7 +20,7 @@ linters:
linters-settings:
errcheck:
exclude-functions:
- (*github.com/hashicorp/terraform-plugin-sdk/helper/schema.ResourceData).Set
- (*github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.ResourceData).Set
staticcheck:
go: "1.18"
checks: