updated linter config
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user