mirror of https://github.com/docker/compose.git
ci: add exportloopref linter and upgrade to golangci-lint v1.43.0 (#5281)
`exportloopref` - detects captures of loop variable without re-assignment NOTE: There can be false negatives with this linter to avoid being overly strict and annoying! Also upgraded `golangci-lint` to latest (v1.43.0 published 2021-11-03).
This commit is contained in:
parent
6fc0b6ff27
commit
4d822676ce
|
@ -1,3 +1,4 @@
|
|||
//go:build !darwin
|
||||
// +build !darwin
|
||||
|
||||
package watch
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build !darwin
|
||||
// +build !darwin
|
||||
|
||||
package watch
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package watch
|
||||
|
|
Loading…
Reference in New Issue