You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@yetus.apache.org by aw...@apache.org on 2022/07/07 20:48:22 UTC
[yetus] branch main updated: YETUS-1191. Add uniq-by-line option to golangci (#284)
This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new bfc21935 YETUS-1191. Add uniq-by-line option to golangci (#284)
bfc21935 is described below
commit bfc2193567614ca3818dc37705eae09cac281ee9
Author: Petr Fedchenkov <gi...@gmail.com>
AuthorDate: Thu Jul 7 23:48:18 2022 +0300
YETUS-1191. Add uniq-by-line option to golangci (#284)
---
precommit/src/main/shell/plugins.d/golangci.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/precommit/src/main/shell/plugins.d/golangci.sh b/precommit/src/main/shell/plugins.d/golangci.sh
index 458a1d66..517f3650 100755
--- a/precommit/src/main/shell/plugins.d/golangci.sh
+++ b/precommit/src/main/shell/plugins.d/golangci.sh
@@ -85,6 +85,7 @@ function golangcilint_exec
args+=("--max-issues-per-linter=0")
args+=("--max-same-issues=0")
+ args+=("--uniq-by-line=false")
args+=("--out-format=line-number")
args+=("--print-issued-lines=false")
args+=("--color=never")