chore(lint): add containedctx, decorder and errchkjson

This commit is contained in:
Quentin McGaw
2022-02-26 13:49:53 +00:00
parent 26b049b361
commit 836f021a87
8 changed files with 13 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ var (
errCommandUnknown = errors.New("command is unknown")
)
//nolint:gocognit,gocyclo
//nolint:gocognit,gocyclo,maintidx
func _main(ctx context.Context, buildInfo models.BuildInformation,
args []string, logger logging.ParentLogger, source sources.Source,
tun tun.Interface, netLinker netlink.NetLinker, cmder command.RunStarter,