浏览代码

golangci.yml: do not limit max reported issues

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 4 年之前
父节点
当前提交
594c972fc5
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      hack/validate/golangci-lint.yml

+ 6 - 0
hack/validate/golangci-lint.yml

@@ -115,3 +115,9 @@ issues:
       linters:
       linters:
         - structcheck
         - structcheck
         - unused
         - unused
+
+  # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
+  max-issues-per-linter: 0
+
+  # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
+  max-same-issues: 0