diff --git a/.golangci.yml b/.golangci.yml index ae066ffd..495ca60e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -52,6 +52,10 @@ linters: - revive text: should not use dot imports source: ginkgo|gomega + - linters: + - revive + text: avoid meaningless package names + source: ^package (api|utils)$ - linters: - goconst path: _test\.go diff --git a/Taskfile.yml b/Taskfile.yml index 9e3041e6..01d9560a 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -34,7 +34,7 @@ tasks: # renovate: datasource=git-refs depName=golangci-lint lookupName=https://github.com/sagikazarmark/daggerverse currentValue=main DAGGER_GOLANGCI_LINT_SHA: 6133ad18e131b891d4723b8e25d69f5de077b472 # renovate: datasource=docker depName=golangci/golangci-lint versioning=semver - GOLANGCI_LINT_VERSION: v2.6.2 + GOLANGCI_LINT_VERSION: v2.7.2 cmds: - > GITHUB_REF= dagger -sc "github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA} diff --git a/pkg/utils/suite_test.go b/pkg/utils/suite_test.go index 0c6afad5..768193fc 100644 --- a/pkg/utils/suite_test.go +++ b/pkg/utils/suite_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package utils //nolint:revive +package utils import ( "testing"