chore(deps): update module github.com/golangci/golangci-lint to v2 #535
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.64.7
->v2.0.2
Release Notes
golangci/golangci-lint (github.com/golangci/golangci-lint)
v2.0.2
Compare Source
source
optionv2.0.1
Compare Source
golines
: fix settings during linter loadversion
field before the configurationforbidigo
: fix migrationv2.0.0
Compare Source
golangci-lint fmt
command with dedicated formatter configuration (https://golangci-lint.run/welcome/quick-start/#formatting)golangci-lint migrate
command to help migration from v1 to v2 (cf. Migration guide)run.relative-path-mode
(cf. Migration guide)--fast-only
flag (cf. Migration guide)linters.exclusions.warn-unused
to log a warning if an exclusion rule is unused.golines
formatter https://github.com/segmentio/golinesstaticcheck
,stylecheck
,gosimple
into one linter (staticcheck
) (cf. Migration guide)go-critic
: from 0.12.0 to 0.13.0gomodguard
: from 1.3.5 to 1.4.1 (block explicit indirect dependencies)nilnil
: from 1.0.1 to 1.1.0 (new option:only-two
)perfsprint
: from 0.8.2 to 0.9.1 (checker name in the diagnostic message)staticcheck
: newquickfix
set of rulestestifylint
: from 1.5.2 to 1.6.0 (new options:equal-values
,suite-method-signature
,require-string-msg
)wsl
: from 4.5.0 to 4.6.0 (new option:allow-cuddle-used-in-block
)bidichk
: from 0.3.2 to 0.3.3errchkjson
: from 0.4.0 to 0.4.1errname
: from 1.0.0 to 1.1.0funlen
: fixignore-comments
optiongci
: from 0.13.5 to 0.13.6gosmopolitan
: from 1.2.2 to 1.3.0inamedparam
: from 0.1.3 to 0.2.0intrange
: from 0.3.0 to 0.3.1protogetter
: from 0.3.9 to 0.3.12unparam
: from8a5130c
to0df0534
golangci-lint config path --json
golangci-lint help linters --json
golangci-lint help formatters --json
golangci-lint linters --json
golangci-lint formatters --json
golangci-lint version --json
v1.64.8
Compare Source
Configuration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.