From f06aa41b96ab00321672db9af085ff307daaa0e5 Mon Sep 17 00:00:00 2001 From: kjubybot Date: Wed, 20 Jul 2022 17:37:09 +0300 Subject: [PATCH] updated linter config --- .golangci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 808f9e1..b21eb60 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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: