diff --git a/.golangci.yaml b/.golangci.yaml index a559773..a4408f7 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -18,6 +18,7 @@ linters: - govet - importas - ineffassign + - lll - misspell - nakedret - nolintlint @@ -25,7 +26,6 @@ linters: - unconvert - unparam - unused - #- wastedassign linters-settings: gosec: # Exclude generated files diff --git a/Makefile b/Makefile index c9f6ef8..be5774b 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ tidy: go mod tidy # Run tests -test: tb.ginkgo tidy lint +test: tb.ginkgo $(TB_GINKGO) -r --cover --coverprofile=coverage.out release: tb.goreleaser tb.semver diff --git a/cmd/fetch.go b/cmd/fetch.go index 3779a1c..3a41cb0 100644 --- a/cmd/fetch.go +++ b/cmd/fetch.go @@ -27,5 +27,6 @@ func init() { func addConfigFlag(cmd *cobra.Command) { cmd.Flags().StringP(flagConfig, "c", "", - "The config file to be used. (default 1. '.toolbox.yaml' current dir, 2. '~/.config/toolbox.yaml', 3. '~/.toolbox.yaml')") + "The config file to be used. (default 1. '.toolbox.yaml' current dir, "+ + "2. '~/.config/toolbox.yaml', 3. '~/.toolbox.yaml')") } diff --git a/cmd/makefile.go b/cmd/makefile.go index 03e0ca1..2e459b9 100644 --- a/cmd/makefile.go +++ b/cmd/makefile.go @@ -36,5 +36,6 @@ func init() { makefileCmd.Flags(). StringVar(&toolsGo, flagToolsGo, "tools.go", "The tools.go file to check for tools dependencies") makefileCmd.Flags(). - BoolVar(&renovate, "renovate", false, "If enables, renovate config is added to the Makefile (renovate.json file, if existing)") + BoolVar(&renovate, "renovate", false, "If enables, renovate config is added to the Makefile "+ + "(renovate.json file, if existing)") }