From 374377de9a9b9b86d20fc2c98995a5dd22e83079 Mon Sep 17 00:00:00 2001 From: arunma Date: Mon, 24 Feb 2025 10:42:13 +0800 Subject: [PATCH] fix(config): [122067788] modify golangci config --- .golangci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 5dca123f41..3967549221 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,7 @@ linters: enable: - errcheck - gofmt - - gosimple + # - gosimple - ineffassign - misspell - staticcheck @@ -25,7 +25,16 @@ linters-settings: exclude-functions: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close run: + skip-dirs: + - vendor + skip-files: + - ".*_test.go" + # change + cache: true + cache-ttl: 8760h + modules-download-mode: vendor + timeout: 60m # The default concurrency value is the number of available CPU. concurrency: 4