From e2f8bf8e865e67d376dcae461d42ade0d151989a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 20:09:59 +0000 Subject: [PATCH 1/2] build(deps): bump go-simpler.org/sloglint from 0.10.1 to 0.11.0 Bumps [go-simpler.org/sloglint](https://github.com/go-simpler/sloglint) from 0.10.1 to 0.11.0. - [Release notes](https://github.com/go-simpler/sloglint/releases) - [Changelog](https://github.com/go-simpler/sloglint/blob/main/.goreleaser.yml) - [Commits](https://github.com/go-simpler/sloglint/compare/v0.10.1...v0.11.0) --- updated-dependencies: - dependency-name: go-simpler.org/sloglint dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 62afdbf29c08..6bcc6fc541c3 100644 --- a/go.mod +++ b/go.mod @@ -125,7 +125,7 @@ require ( github.com/ykadowak/zerologlint v0.1.5 gitlab.com/bosi/decorder v0.4.2 go-simpler.org/musttag v0.13.0 - go-simpler.org/sloglint v0.10.1 + go-simpler.org/sloglint v0.11.0 go.uber.org/automaxprocs v1.6.0 golang.org/x/mod v0.24.0 golang.org/x/sys v0.31.0 diff --git a/go.sum b/go.sum index 41a925528d21..ebd627263441 100644 --- a/go.sum +++ b/go.sum @@ -626,8 +626,8 @@ go-simpler.org/assert v0.9.0 h1:PfpmcSvL7yAnWyChSjOz6Sp6m9j5lyK8Ok9pEL31YkQ= go-simpler.org/assert v0.9.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28= go-simpler.org/musttag v0.13.0 h1:Q/YAW0AHvaoaIbsPj3bvEI5/QFP7w696IMUpnKXQfCE= go-simpler.org/musttag v0.13.0/go.mod h1:FTzIGeK6OkKlUDVpj0iQUXZLUO1Js9+mvykDQy9C5yM= -go-simpler.org/sloglint v0.10.1 h1:gYHgZdbPzRa9/RQ8zYQLnHfmgWivCpNK2MAwnrhnKdA= -go-simpler.org/sloglint v0.10.1/go.mod h1:CFDO8R1i77dlciGfPEPvYke2ZMx4eyGiEIWkyeW2Pvw= +go-simpler.org/sloglint v0.11.0 h1:JlR1X4jkbeaffiyjLtymeqmGDKBDO1ikC6rjiuFAOco= +go-simpler.org/sloglint v0.11.0/go.mod h1:CFDO8R1i77dlciGfPEPvYke2ZMx4eyGiEIWkyeW2Pvw= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= From 946dced985d78e019806ac40cbc7dbe5c076fdcc Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sat, 5 Apr 2025 22:13:21 +0200 Subject: [PATCH 2/2] chore: update implementation --- pkg/lint/lintersdb/builder_linter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/lint/lintersdb/builder_linter.go b/pkg/lint/lintersdb/builder_linter.go index 00c333aadb9f..c246250dad16 100644 --- a/pkg/lint/lintersdb/builder_linter.go +++ b/pkg/lint/lintersdb/builder_linter.go @@ -555,6 +555,7 @@ func (LinterBuilder) Build(cfg *config.Config) ([]*linter.Config, error) { linter.NewConfig(sloglint.New(&cfg.Linters.Settings.SlogLint)). WithSince("v1.55.0"). WithLoadForGoAnalysis(). + WithAutoFix(). WithURL("https://github.com/go-simpler/sloglint"), linter.NewConfig(sqlclosecheck.New()).