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