From 653e81e485e5b29dd76bc883220879cde3c64524 Mon Sep 17 00:00:00 2001 From: Arunma <41282634+gitmkn@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:00:36 +0800 Subject: [PATCH] Update .golangci.yml --- .golangci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 5dca123f41..97c2983540 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,7 @@ linters: enable: - errcheck - gofmt - - gosimple + # - gosimple - ineffassign - misspell - staticcheck @@ -25,10 +25,19 @@ 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 # Allow multiple parallel golangci-lint instances running. # If false (default) - golangci-lint acquires file lock on start. - allow-parallel-runners: true \ No newline at end of file + allow-parallel-runners: true