Skip to content

Commit

Permalink
Disable too strict linters in golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbohnsack committed Dec 9, 2019
1 parent 6d4c5e6 commit 54d9733
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54d9733

Please sign in to comment.