From da5aa30969662aca908a5292c666c721e297df38 Mon Sep 17 00:00:00 2001 From: Khanh Nguyen Date: Wed, 20 Apr 2022 16:02:25 -0400 Subject: [PATCH] Add golint and change linter to lint --- .golangci.yml | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 3809a0c81f..8ac8cd0774 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -58,3 +58,4 @@ linters: - structcheck - misspell - revive + - golint diff --git a/Makefile b/Makefile index 840de44dd5..21f7e2dbba 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ fmt: install-tools fmt-sh: install-tools ${SHFMT} -w -d -i 5 . -linter: install-tools +lint: install-tools ${LINTER} run ./... test: