From c1d239c6a112f49469b368e13797eabc63571c92 Mon Sep 17 00:00:00 2001 From: Michal Fiedorowicz Date: Mon, 29 Jan 2024 22:11:08 +0000 Subject: [PATCH] feat: OBS-8 - exclude rule revive package-comments Signed-off-by: Michal Fiedorowicz --- .github/golangci.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/golangci.yaml b/.github/golangci.yaml index d60ad484..3cfdf04b 100644 --- a/.github/golangci.yaml +++ b/.github/golangci.yaml @@ -16,14 +16,13 @@ linters: - gosimple - bodyclose -linters-settings: - revive: - rules: - - name: package-comments - severity: warning - issues: exclude-use-default: false + exclude-rules: + - path: /*.go + text: "package-comments: should have a package comment" + linters: + - revive severity: default-severity: error