Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(deps): update pre-commit hook golangci/golangci-lint to v1.54.2 #52

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 28, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint repository minor v1.52.2 -> v1.54.2

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v1.54.2

Compare Source

  1. updated linters:
    • errname: from 0.1.10 to 0.1.12
    • ginkgolinter: from 0.13.3 to 0.13.5
    • go-errorlint: from 1.4.3 to 1.4.4
    • godot: from 1.4.11 to 1.4.14
    • gosec: from 2.16.0 to 2.17.0
    • musttag: from 0.7.1 to 0.7.2
    • nilnil: from 0.1.5 to 0.1.7
    • staticcheck: from 0.4.3 to 0.4.5
    • usestdlibvars: from 1.23.0 to 1.24.0
    • govet: add missing directive and slog passes

v1.54.1

Compare Source

  1. updated linters:
    • go-critic: from 0.8.2 to 0.9.0
  2. misc.
    • plugin: temporarily hide warning about using plugins using the old API

v1.54.0

Compare Source

  1. updated linters:
    • decorder: from 0.2.3 to 0.4.0
    • dupword: from 0.0.11 to 0.0.12
    • errorlint: from 1.4.2 to 1.4.3
    • exhaustruct: from 2.3.0 to 3.1.0
    • forbidigo: from 1.5.3 to 1.6.0
    • funlen: from 0.0.3 to 0.1.0
    • gci: from 0.10.1 to 0.11.0
    • ginkgolinter: from 0.12.1 to 0.13.3
    • go-critic: from 0.8.1 to 0.8.2
    • go-errorlint: from 1.4.2 to 1.4.3
    • go-exhaustruct: from 2.3.0 to 3.1.0
    • gocognit: from 1.0.6 to 1.0.7
    • gocritic: from 0.8.1 to 0.8.2
    • gofmt: autofix missing newline at EOF
    • misspell: 0.4.0 to 0.4.1
    • musttag: from 0.7.0 to 0.7.1
    • paralleltest: from 1.0.7 to 1.0.8
    • tagalign: from 1.2.2 to 1.3.2
    • typecheck: explain it and remove it from the linter list
    • zerologlint: from 0.1.2 to 0.1.3
  2. misc.
    • 🎉 go1.21 support
    • plugin: include custom linters in enable-all
    • plugin: allow to use settings for plugins
  3. Documentation
    • Add linter descriptions.

Important

ruleguard (a "rule" inside gocritic) was disabled in this release (v1.54.0) and was enabled again in the next release (v1.54.1).

exhaustruct has breaking changes with regular expressions, more details here.

v1.53.3

Compare Source

  1. updated linters:
    • cyclop: from 1.2.0 to 1.2.1
    • exhaustive: from 0.10.0 to 0.11.0
    • forbidigo: from 1.5.1 to 1.5.3
    • ginkgolinter: from 0.12.2 to 0.12.1
    • ineffassign: bump to HEAD
    • nakedret: from 2.0.1 to 2.0.2
    • zerologlint: from 0.1.1 to 0.1.2
  2. misc.
    • codeclimate: reduce memory allocation
    • support illumos/amd64

v1.53.2

Compare Source

  1. updated linters
    • depguard: from v2.0.1 to 2.1.0
  2. misc.
    • depguard: throw error only when the linter is called

v1.53.1

Compare Source

  1. misc.
    • depguard: fix GOROOT detection
    • importas: fix duplication detection when aliases use regular expression replacement pattern

v1.53.0

Compare Source

  1. new linters
  2. updated linters
    • bodyclose: bump to HEAD
    • containedctx: from 1.0.2 to 1.0.3
    • depguard: migrate to v2
    • errname: from 0.1.9 to 0.1.10
    • exhaustive: from 0.9.5 to 0.10.0
    • forbidigo: better support for configuring complex rules
    • gci: improve error message
    • ginkgolinter: add suppress-async-assertion option
    • ginkgolinter: from 0.9.0 to 0.12.0
    • go-critic: from 0.7.0 to 0.8.1
    • go-errorlint: from 1.4.0 to 1.4.2
    • gofumpt: from 0.4.0 to 0.5.0
    • gosec: convert global settings as map with proper key type
    • gosec: from 2.15.0 to 2.16.0
    • importas: detect duplicate alias or package in the configuration
    • importas: fix typo in logs
    • ireturn: from 0.1.1 to 0.2.0
    • musttag: from 0.5.0 to 0.7.0
    • nakedret: to 2.0.1
    • nilnil: from 0.1.3 to 0.1.5
    • paralleltest: from 1.0.6 to 1.0.7
    • revive: from 1.3.1 to 1.3.2
    • tagliatelle: from 0.4.0 to 0.5.0
    • usestdlibvars: fix configuration
  3. misc.
    • golang.org/x/tools: from 0.7.0 to 0.9.2
    • add loongarch64 to the install script
    • output: add colored-tab
    • remove warning when the config file is explicitly stdin
    • rules: support inverted path match
  4. Documentation
    • mnd: clarify ignore usage examples to be regexps
    • tagliatelle: update documentation
    • improve features section
    • update supported Go versions FAQ

Configuration

📅 Schedule: Branch creation - "before 4am" in timezone Europe/Paris, 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot merged commit 684e5f8 into main Sep 28, 2023
2 checks passed
@renovate renovate bot deleted the renovate/pre-commit branch September 28, 2023 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants