From af1d1569f3d540d85e9240d728936cef64dc57eb Mon Sep 17 00:00:00 2001 From: Haris Osmanagic Date: Thu, 8 Aug 2024 13:11:41 +0200 Subject: [PATCH 1/2] golangic-lint configuration updates --- .github/workflows/lint.yml | 1 - .golangci.yml | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a058bbc..3fff090 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,4 +28,3 @@ jobs: with: version: ${{ steps.golangci-lint-version.outputs.v }} skip-pkg-cache: true - args: --timeout=2m diff --git a/.golangci.yml b/.golangci.yml index bc65092..615a902 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,8 +1,9 @@ +run: + timeout: 5m + linters-settings: gofmt: simplify: false - govet: - check-shadowing: false nolintlint: allow-unused: false # report any unused nolint directives require-explanation: true # require an explanation for nolint directives From c38542aaf6808bae84cd531f9dfaa4a86ef3be28 Mon Sep 17 00:00:00 2001 From: Haris Osmanagic Date: Thu, 8 Aug 2024 13:18:31 +0200 Subject: [PATCH 2/2] golangic-lint configuration updates --- .golangci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 615a902..52c5755 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,8 +2,6 @@ run: timeout: 5m linters-settings: - gofmt: - simplify: false nolintlint: allow-unused: false # report any unused nolint directives require-explanation: true # require an explanation for nolint directives