From d07445081f511dd2abb559971f2fb399793b95cf Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 30 Jan 2022 11:34:47 +0700 Subject: all: simplify running linter Instead of enabling all linters, run the default linter provided by the latest golangci-lint. --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index cd56458..e99ce42 100644 --- a/Makefile +++ b/Makefile @@ -34,10 +34,7 @@ coverbrowse: $(COVER_HTML) xdg-open $< lint: - golangci-lint run --enable-all \ - --disable=wsl \ - --disable=gomnd \ - --disable=funlen ./... + golangci-lint run ./... clean: rm -rf $(COVER_OUT) $(COVER_HTML) -- cgit v1.3