From 0c962d67398c17436ec5f47a082516b5f2853266 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 2 Jun 2023 12:00:20 +0200 Subject: [PATCH] ci: disable `revive:dot-imports` The `revive:dot-imports` rule complains about the same problems that `golint` reports. We only need one `//nolint:golint // ...` comment, not a second one for revive. Signed-off-by: Niels de Vos --- scripts/golangci.yml.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 2cfcf4050..69357b969 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -158,6 +158,11 @@ linters-settings: max-blank-identifiers: 3 nestif: min-complexity: 7 + revive: + rules: + # dot-imports is already checked by golint + - name: dot-imports + disabled: true linters: enable-all: true