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/go.mod | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 tools/go.mod (limited to 'tools/go.mod') diff --git a/tools/go.mod b/tools/go.mod deleted file mode 100644 index e899c7d..0000000 --- a/tools/go.mod +++ /dev/null @@ -1,27 +0,0 @@ -module go.uber.org/sally/tools - -require ( - github.com/mgechev/revive v1.3.2 - honnef.co/go/tools v0.4.3 -) - -require ( - github.com/BurntSushi/toml v1.2.1 // indirect - github.com/chavacava/garif v0.0.0-20230519080132-4752330f72df // indirect - github.com/fatih/color v1.15.0 // indirect - github.com/fatih/structtag v1.2.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect - github.com/mattn/go-runewidth v0.0.14 // indirect - github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517 // indirect - github.com/mitchellh/go-homedir v1.1.0 // indirect - github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/rivo/uniseg v0.4.4 // indirect - golang.org/x/exp/typeparams v0.0.0-20230522175609-2e198f4a06a1 // indirect - golang.org/x/mod v0.10.0 // indirect - golang.org/x/sys v0.8.0 // indirect - golang.org/x/tools v0.9.1 // indirect -) - -go 1.19 -- cgit v1.2.3