Skip to content

future linting error with golangci-lint revive #386

@ccoVeille

Description

@ccoVeille

Latest golangci-lint version would bring this linting error

cmd/validator/validator.go:143:2: deep-exit: calls to flag.Parse only in main() or init() functions (revive)
	flag.Parse()

There are two solutions here

What would be your call here @kehoecj ?

Metadata

Metadata

Assignees

Labels

CLIUpdate to the CLIbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions