diff --git a/.golangci.yaml b/.golangci.yaml index 5e90ba0..2d281c4 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -38,7 +38,7 @@ linters-settings: dupl: threshold: 100 funlen: - lines: 120 + lines: 100 statements: 80 gci: local-prefixes: github.com/golangci/golangci-lint @@ -59,7 +59,7 @@ linters-settings: - whyNoLint - wrapperFunc gocyclo: - min-complexity: 25 + min-complexity: 18 goimports: local-prefixes: github.com/golangci/golangci-lint golint: diff --git a/pkg/handlers/dev/configure.go b/pkg/handlers/dev/configure.go index f67e9aa..293ea15 100644 --- a/pkg/handlers/dev/configure.go +++ b/pkg/handlers/dev/configure.go @@ -39,6 +39,7 @@ func (cmd *ConfigureCmd) Validate() error { return nil } +// nolint: funlen, gocyclo func (cmd *ConfigureCmd) Run(c *cc.CommonCtx) error { c.Con().Info().Msg(">>> configure policy...") c.Con().Msg("tenant id: %s", c.TenantID())