From d14a150b4019af839969f24130fdcc3266b7dae0 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Fri, 31 Jan 2025 09:58:10 +0100 Subject: [PATCH] Update linter configuration This should have no effect on the reports. Signed-off-by: Sascha Grunert --- .golangci.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 80eeaa1e007..b8f256e5170 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,14 +3,6 @@ run: concurrency: 6 timeout: 15m issues: - exclude-rules: - # counterfeiter fakes are usually named 'fake_.go' - - path: fake_.*\.go - linters: - - gocritic - - golint - - dupl - # Maximum issues count per one linter. Set to 0 to disable. Default is 50. max-issues-per-linter: 0 @@ -149,21 +141,5 @@ linters-settings: - BUG - FIXME - HACK - errcheck: - check-type-assertions: true - check-blank: true gocritic: enable-all: true - nolintlint: - # Enable to ensure that nolint directives are all used. Default is true. - allow-unused: false - # Disable to ensure that nolint directives don't have a leading space. Default is true. - # TODO(lint): Enforce machine-readable `nolint` directives - allow-leading-space: true - # Exclude following linters from requiring an explanation. Default is []. - allow-no-explanation: [] - # Enable to require an explanation of nonzero length after each nolint directive. Default is false. - # TODO(lint): Enforce explanations for `nolint` directives - require-explanation: false - # Enable to require nolint directives to mention the specific linter being suppressed. Default is false. - require-specific: true