From 4fe6763faf645568b2d1d3fe4cdcfcf6b12cf7e6 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Sat, 21 Oct 2023 16:59:14 -0700 Subject: ci: Use golangci-lint for linting (#121) Instead of hand-managing and running linters, use golangci-lint. Along with the golangci-lint defaults, enable a couple other linters we generally agree with. See also uber-go/zap#1323 for a similar change. As a result of this, we can: - Drop the dependabot for tools - Run the lint job in parallel with build/test - Simplify the Makefile --- tools/tools.go | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 tools/tools.go (limited to 'tools/tools.go') diff --git a/tools/tools.go b/tools/tools.go deleted file mode 100644 index 437b62d..0000000 --- a/tools/tools.go +++ /dev/null @@ -1,9 +0,0 @@ -//go:build tools -// +build tools - -package tools - -import ( - _ "github.com/mgechev/revive" - _ "honnef.co/go/tools/cmd/staticcheck" -) -- cgit v1.2.3