fix(deps): update module github.com/golangci/golangci-lint to v1.50.1 #32
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.43.0
->v1.50.1
Release Notes
golangci/golangci-lint
v1.50.1
Compare Source
contextcheck
: from 1.1.2 to 1.1.3go-mnd
: from 2.5.0 to 2.5.1wrapcheck
: from 2.6.2 to 2.7.0revive
: fix configuration parsinglll
: skip importsv1.50.0
Compare Source
dupword
: https://github.com/Abirdcfly/dupwordtestableexamples
: https://github.com/maratori/testableexamplescontextcheck
: change ownercontextcheck
: from 1.0.6 to 1.1.2depguard
: from 1.1.0 to 1.1.1exhaustive
: add missing configexhaustive
: from 0.8.1 to 0.8.3gci
: from 0.6.3 to 0.8.0go-critic
: from 0.6.4 to 0.6.5go-errorlint
: from 1.0.2 to 1.0.5go-reassign
: v0.1.2 to v0.2.0gofmt
: add optionrewrite-rules
gofumpt
from 0.3.1 to 0.4.0goimports
: update to HEADinterfacebloat
: fix configuration loadinglogrlint
: renamelogrlint
tologgercheck
paralleltest
: add tests of the ignore-missing optionrevive
: from 1.2.3 to 1.2.4usestdlibvars
: from 1.13.0 to 1.20.0wsl
: support all configs and update docsexclude-rules
paths for Windowsv1.49.0
Compare Source
IMPORTANT:
varcheck
anddeadcode
has been removed of default linters.interfacebloat
: https://github.com/sashamelentyev/interfacebloatlogrlint
: https://github.com/timonwong/logrlintreassign
: https://github.com/curioswitch/go-reassigngo-colorable
: from 0.1.12 to 0.1.13go-critic
: from 0.6.3 to 0.6.4go-errorlint
: from 1.0.0 to 1.0.2go-exhaustruct
: from 2.2.2 to 2.3.0gopsutil
: from 3.22.6 to 3.22.7gosec
: from 2.12.0 to 2.13.1revive
: from 1.2.1 to 1.2.3usestdlibvars
: from 1.8.0 to 1.13.0contextcheck
: from v1.0.4 to v1.0.6 && re-enablenosnakecase
: This linter is deprecated.varcheck
: This linter is deprecated useunused
instead.deadcode
: This linter is deprecated useunused
instead.structcheck
: This linter is deprecated useunused
instead.revive
: fix wrong URLusestdlibvars
: fix typo in documentationnolintlint
: remove allow-leading-space optionGOROOT
in the Docker image forgo-critic
v1.48.0
Compare Source
usestdlibvars
:https://github.com/sashamelentyev/usestdlibvarscontextcheck
: disable lintererrcheck
: from 1.6.1 to 1.6.2gci
: add missingcustom-order
settinggci
: from 0.5.0 to 0.6.0ifshort
: deprecate linternolint
: drop allow-leading-space option and add "nolint:all"revgrep
: bump to HEADv1.47.3
Compare Source
asasalint
: from 0.0.10 to 0.0.11decorder
: from 0.2.2 to v0.2.3gci
: fix panic with invalid configuration optiongci
: from 0.4.3 to v0.5.0go-exhaustruct
: from 2.2.0 to 2.2.2gomodguard
: from 1.2.3 to 1.2.4nosnakecase
: from 1.5.0 to 1.7.0honnef.co/go/tools
: from 0.3.2 to v0.3.3v1.47.2
Compare Source
revive
: ignore slow rulesv1.47.1
Compare Source
gci
: from 0.4.2 to 0.4.3gci
: remove the use of stdingci
: fix options displaytenv
: from 1.6.0 to 1.7.0unparam
: bump to HEADv1.47.0
Compare Source
asasalint
: https://github.com/alingse/asasalintnosnakecase
: https://github.com/sivchari/nosnakecasedecorder
: from 0.2.1 to 0.2.2errcheck
: from 1.6.0 to 1.6.1errname
: from 0.1.6 to 0.1.7exhaustive
: from 0.7.11 to 0.8.1gci
: fix issues and re-enable autofixgci
: from 0.3.4 to 0.4.2go-exhaustruct
: from 2.1.0 to 2.2.0go-ruleguard
: from 0.3.19 to 0.3.21gocognit
: from 1.0.5 to 1.0.6gocyclo
: from 0.5.1 to 0.6.0golang.org/x/tools
: bump to HEADgosec
: allowglobal
configgosec
: from 2.11.0 to 2.12.0nonamedreturns
: from 1.0.1 to 1.0.4paralleltest
: from 1.0.3 to 1.0.6staticcheck
: fix genericsstaticcheck
: from 0.3.1 to 0.3.2tenv
: from 1.5.0 to 1.6.0testpackage
: from 1.0.1 to 1.1.0thelper
: from 0.6.2 to 0.6.3wrapcheck
: from 2.6.1 to 2.6.2staticcheck
integration.depguard
: addignore-file-rules
depguard
: adjust phrasinggocritic
: addenable
anddisable
ruleguard settingsgomnd
: fix typogosec
: add configs for all existing rulesgovet
: add settings forshadow
andunusedresult
thelper
: addfuzz
config and descriptionv1.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
elaborationv1.44.0
Compare Source
containedctx
: https://github.com/sivchari/containedctxdecorder
: https://gitlab.com/bosi/decordererrchkjson
: https://github.com/breml/errchkjsonmaintidx
: https://github.com/yagipy/maintidxgrouper
: https://github.com/leonklingele/grouperasciicheck
: bump to v0.1.1bidichk
: from 0.1.1 to 0.2.1bodyclose
: bump to HEADdecorder
: from 0.2.0 to 0.2.1depguard
: from 1.0.1 to 1.1.0errchkjson
: from 0.2.0 to 0.2.1errorlint
: bump to HEADexhaustive
: drop deprecated/unused settingsexhaustive
: from v0.2.3 to 0.7.11forbidigo
: from 1.2.0 to 1.3.0forcetypeassert
: bump to v0.1.0gocritic
: from 0.6.1 to 0.6.2gocritic
: support autofixgocyclo
: from 0.3.1 to 0.4.0godot
: add period optiongofumpt
: from 0.1.1 to 0.2.1gomnd
: from 2.4.0 to 2.5.0gomnd
: new configurationgosec
: from 2.9.1 to 2.9.6ifshort
: from 1.0.3 to 1.0.4ineffassign
: bump to HEADmakezero
: to v1.1.0promlinter
: from v0.1.0 to HEADrevive
: fixenableAllRules
revive
: from 1.1.2 to 1.1.3staticcheck
: from 0.2.1 to 0.2.2tagliatelle
: from 0.2.0 to 0.3.0thelper
: from 0.4.0 to 0.5.0unparam
: bump to HEADvarnamelen
: bump to v0.5.0wrapcheck
: update configuration to includeignoreSignRegexps
nolintlint
: fix wrong default value in commentrevive
: add a more detailed configuration<failure>
tag content for more readable JUnit outputConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.