From 3a43fb84f8606adabef7f3d3510e02039b10ca30 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 2 Jun 2023 12:00:20 +0200 Subject: [PATCH] ci: disable `stylecheck:dot-imports` The `stylecheck:dot-imports` rule complains about the same problems that `golint` reports. We only need one `//nolint:golint // ...` comment, not a second one for stylecheck. Signed-off-by: Niels de Vos --- scripts/golangci.yml.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 69357b969..df1129d3b 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -163,6 +163,10 @@ linters-settings: # dot-imports is already checked by golint - name: dot-imports disabled: true + stylecheck: + checks: + # "should not use dot imports" is handled by golint + - "-ST1001" linters: enable-all: true