From 54d9733f4b971768fd3e0ad6808c3929e464f593 Mon Sep 17 00:00:00 2001 From: Erik Bohnsack Date: Fri, 15 Nov 2019 17:03:47 +0100 Subject: [PATCH] Disable too strict linters in golangci-lint --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fd5d3fd..d33ecee 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,14 @@ go-mod-tidy: # go-lint: lint Go files .PHONY: go-lint go-lint: $(GOLANGCI_LINT) - $(GOLANGCI_LINT) run --enable-all + # dupl: disabled due to similarities in tests + # interfacer: deprecated + # maligned: removed to not spend time on config aligment + # funlen: tests with many testcases become too long, but should not be split. + # unused: buggy with GolangCI-Lint 1.18.0 + # godox: we keep todos in the history + # wsl: too strict + $(GOLANGCI_LINT) run --enable-all --skip-dirs build --disable dupl,interfacer,maligned,funlen,unused,godox,wsl # go-review: review Go files .PHONY: go-review