Update dependency golangci/golangci-lint to v1.46.2 #282
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.44.0
->v1.46.2
Release Notes
golangci/golangci-lint
v1.46.2
Compare Source
execinquery
: bump from v1.2.0 to v1.2.1errorlint
: bump to v1.0.0thelper
: allow to disable one option.golangci.example.yml
to.golangci.reference.yml
containedctx
linter to the list of available lintersv1.46.1
Compare Source
execinquery
: bump from v0.6.0 to v0.6.1v1.46.0
Compare Source
execinquery
: https://github.com/lufeee/execinquerynonamedreturns
: https://github.com/firefart/nonamedreturnsnosprintfhostport
: https://github.com/stbenjam/no-sprintf-host-portexhaustruct
: https://github.com/GaijinEntertainment/go-exhaustructbidichk
: from 0.2.2 to 0.2.3deadcode
: bump to HEADerrchkjson
: from 0.2.3 to 0.3.0errname
: from 0.1.5 to 0.1.6go-critic
: from 0.6.2 to 0.6.3gocyclo
: from 0.4.0 to 0.5.1gofumpt
from 0.3.0 to 0.3.1gomoddirectives
: from 0.2.2 to 0.2.3gosec
: from 2.10.0 to 2.11.0honnef.co/go/tools
: from 0.2.2to 0.3.1 (go1.18 support)nilnil
: from 0.1.0 to 0.1.1nonamedreturns
: bump from 1.0.0 to 1.0.1predeclared
: from 0.2.1 to 0.2.2promlinter
: bump to v0.2.0revive
: from 1.1.4 to 1.2.1tenv
: from 1.4.7 to 1.5.0thelper
: from 0.5.1 to 0.6.2unused
: fix false-positivevarnamelen
: bump to v0.8.0wrapcheck
: from 2.5.0 to 2.6.1exhaustivestruct
: This linter is deprecated useexhaustruct
instead.CLICOLOR
andCLICOLOR_FORCE
v1.45.2
Compare Source
v1.45.1
Compare Source
interfacer
: inactivate with go1.18govet
: inactivate unsupported analyzers (go1.18)depguard
: reduce requirementsstructcheck
: inactivate with go1.18varnamelen
: bump from v0.6.0 to v0.6.1v1.45.0
Compare Source
cobra
: from 1.3.0 to 1.4.0containedctx
: from 1.0.1 to 1.0.2errcheck
: add an option to remove default exclusionsgci
: from 0.3.1 to 0.3.2go-header
: from 0.4.2 to 0.4.3gofumpt
: add module-path settinggofumpt
: from 0.2.1 to 0.3.0gopsutil
: from 3.22.1 to 3.22.2gosec
: from 2.9.6 to 2.10.0makezero
: from 1.1.0 to 1.1.1revive
: fix default valueswrapcheck
: from 2.4.0 to 2.5.0forbidigo
example that uses commentsv1.44.2
Compare Source
gci
: bump to HEADgci
: restore defaults for sectionswhitespace
: from 0.0.4 to 0.0.5v1.44.1
Compare Source
bidichk
: from 0.2.1 to 0.2.2errchkjson
: from 0.2.1 to 0.2.3thelper
: from 0.5.0 to 0.5.1tagliatelle
: from 0.3.0 to 0.3.1gopsutil
: from 3.21.12 to 3.22.1gci
: from 0.2.9 to 0.3.0revive
: from v1.1.3 to v1.1.4varnamelen
: from v0.5.0 to v0.6.0decorder
: fixdisable-init-func-first-check: false
elaborationConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.