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

fix(deps): update module github.com/golangci/golangci-lint to v1.50.1 #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 7, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/golangci/golangci-lint require minor v1.43.0 -> v1.50.1

Release Notes

golangci/golangci-lint

v1.50.1

Compare Source

  1. updated linters
    • contextcheck: from 1.1.2 to 1.1.3
    • go-mnd: from 2.5.0 to 2.5.1
    • wrapcheck: from 2.6.2 to 2.7.0
    • revive: fix configuration parsing
    • lll: skip imports
  2. misc.
    • windows: remove redundant character escape '/'
    • code-climate: add default severity

v1.50.0

Compare Source

  1. new linters
  2. updated linters
    • contextcheck: change owner
    • contextcheck: from 1.0.6 to 1.1.2
    • depguard: from 1.1.0 to 1.1.1
    • exhaustive: add missing config
    • exhaustive: from 0.8.1 to 0.8.3
    • gci: from 0.6.3 to 0.8.0
    • go-critic: from 0.6.4 to 0.6.5
    • go-errorlint: from 1.0.2 to 1.0.5
    • go-reassign: v0.1.2 to v0.2.0
    • gofmt: add option rewrite-rules
    • gofumpt from 0.3.1 to 0.4.0
    • goimports: update to HEAD
    • interfacebloat: fix configuration loading
    • logrlint: rename logrlint to loggercheck
    • paralleltest: add tests of the ignore-missing option
    • revive: from 1.2.3 to 1.2.4
    • usestdlibvars: from 1.13.0 to 1.20.0
    • wsl: support all configs and update docs
  3. misc.
    • Normalize exclude-rules paths for Windows
    • add riscv64 to the install script
  4. Documentation
    • cli: remove reference to old service

v1.49.0

Compare Source

IMPORTANT: varcheck and deadcode has been removed of default linters.

  1. new linters
  2. updated linters
    • go-colorable: from 0.1.12 to 0.1.13
    • go-critic: from 0.6.3 to 0.6.4
    • go-errorlint: from 1.0.0 to 1.0.2
    • go-exhaustruct: from 2.2.2 to 2.3.0
    • gopsutil: from 3.22.6 to 3.22.7
    • gosec: from 2.12.0 to 2.13.1
    • revive: from 1.2.1 to 1.2.3
    • usestdlibvars: from 1.8.0 to 1.13.0
    • contextcheck: from v1.0.4 to v1.0.6 && re-enable
    • nosnakecase: This linter is deprecated.
    • varcheck: This linter is deprecated use unused instead.
    • deadcode: This linter is deprecated use unused instead.
    • structcheck: This linter is deprecated use unused instead.
  3. documentation
    • revive: fix wrong URL
    • Add a section about default exclusions
    • usestdlibvars: fix typo in documentation
    • nolintlint: remove allow-leading-space option
    • Update documentation and assets
  4. misc.
    • dev: rewrite the internal tests framework
    • fix: exit early on run --version
    • fix: set an explicit GOROOT in the Docker image for go-critic

v1.48.0

Compare Source

  1. new linters
  2. updated linters
    • contextcheck: disable linter
    • errcheck: from 1.6.1 to 1.6.2
    • gci: add missing custom-order setting
    • gci: from 0.5.0 to 0.6.0
    • ifshort: deprecate linter
    • nolint: drop allow-leading-space option and add "nolint:all"
    • revgrep: bump to HEAD
  3. documentation
    • remove outdated info on source install
  4. misc
    • go1.19 support

v1.47.3

Compare Source

  1. updated linters:
    • remove some go1.18 limitations
    • asasalint: from 0.0.10 to 0.0.11
    • decorder: from 0.2.2 to v0.2.3
    • gci: fix panic with invalid configuration option
    • gci: from 0.4.3 to v0.5.0
    • go-exhaustruct: from 2.2.0 to 2.2.2
    • gomodguard: from 1.2.3 to 1.2.4
    • nosnakecase: from 1.5.0 to 1.7.0
    • honnef.co/go/tools: from 0.3.2 to v0.3.3
  2. misc
    • cgo: fix linters ignoring CGo files

v1.47.2

Compare Source

  1. updated linters:
    • revive: ignore slow rules

v1.47.1

Compare Source

  1. updated linters:
    • gci: from 0.4.2 to 0.4.3
    • gci: remove the use of stdin
    • gci: fix options display
    • tenv: from 1.6.0 to 1.7.0
    • unparam: bump to HEAD

v1.47.0

Compare Source

  1. new linters:
  2. updated linters:
    • decorder: from 0.2.1 to 0.2.2
    • errcheck: from 1.6.0 to 1.6.1
    • errname: from 0.1.6 to 0.1.7
    • exhaustive: from 0.7.11 to 0.8.1
    • gci: fix issues and re-enable autofix
    • gci: from 0.3.4 to 0.4.2
    • go-exhaustruct: from 2.1.0 to 2.2.0
    • go-ruleguard: from 0.3.19 to 0.3.21
    • gocognit: from 1.0.5 to 1.0.6
    • gocyclo: from 0.5.1 to 0.6.0
    • golang.org/x/tools: bump to HEAD
    • gosec: allow global config
    • gosec: from 2.11.0 to 2.12.0
    • nonamedreturns: from 1.0.1 to 1.0.4
    • paralleltest: from 1.0.3 to 1.0.6
    • staticcheck: fix generics
    • staticcheck: from 0.3.1 to 0.3.2
    • tenv: from 1.5.0 to 1.6.0
    • testpackage: from 1.0.1 to 1.1.0
    • thelper: from 0.6.2 to 0.6.3
    • wrapcheck: from 2.6.1 to 2.6.2
  3. documentation:
    • add thanks page
    • add a clear explanation about the staticcheck integration.
    • depguard: add ignore-file-rules
    • depguard: adjust phrasing
    • gocritic: add enable and disable ruleguard settings
    • gomnd: fix typo
    • gosec: add configs for all existing rules
    • govet: add settings for shadow and unusedresult
    • thelper: add fuzz config and description
    • linters: add defaults

v1.46.2

Compare Source

  1. updated linters:
    • execinquery: bump from v1.2.0 to v1.2.1
    • errorlint: bump to v1.0.0
    • thelper: allow to disable one option
  2. documentation:
    • rename .golangci.example.yml to .golangci.reference.yml
    • add containedctx linter to the list of available linters

v1.46.1

Compare Source

  1. updated linters:
    • execinquery: bump from v0.6.0 to v0.6.1
  2. documentation:
    • add missing linters

v1.46.0

Compare Source

  1. new linters:
  2. updated linters:
    • bidichk: from 0.2.2 to 0.2.3
    • deadcode: bump to HEAD
    • errchkjson: from 0.2.3 to 0.3.0
    • errname: from 0.1.5 to 0.1.6
    • go-critic: from 0.6.2 to 0.6.3
    • gocyclo: from 0.4.0 to 0.5.1
    • gofumpt from 0.3.0 to 0.3.1
    • gomoddirectives: from 0.2.2 to 0.2.3
    • gosec: from 2.10.0 to 2.11.0
    • honnef.co/go/tools: from 0.2.2to 0.3.1 (go1.18 support)
    • nilnil: from 0.1.0 to 0.1.1
    • nonamedreturns: bump from 1.0.0 to 1.0.1
    • predeclared: from 0.2.1 to 0.2.2
    • promlinter: bump to v0.2.0
    • revive: from 1.1.4 to 1.2.1
    • tenv: from 1.4.7 to 1.5.0
    • thelper: from 0.5.1 to 0.6.2
    • unused: fix false-positive
    • varnamelen: bump to v0.8.0
    • wrapcheck: from 2.5.0 to 2.6.1
    • exhaustivestruct: This linter is deprecated use exhaustruct instead.
  3. documentation:
    • Update "Shell Completion" instruction on Linux
    • Update FAQ page
  4. misc:
    • log: enable override coloring based on CLICOLOR and CLICOLOR_FORCE

v1.45.2

Compare Source

  1. misc:
    • fix: help command

v1.45.1

Compare Source

  1. updated linters:
    • interfacer: inactivate with go1.18
    • govet: inactivate unsupported analyzers (go1.18)
    • depguard: reduce requirements
    • structcheck: inactivate with go1.18
    • varnamelen: bump from v0.6.0 to v0.6.1
  2. misc:
    • Automatic Go version detection 🎉 (go1.18)
    • docker: update base images (go1.18)

v1.45.0

Compare Source

  1. updated linters:
    • cobra: from 1.3.0 to 1.4.0
    • containedctx: from 1.0.1 to 1.0.2
    • errcheck: add an option to remove default exclusions
    • gci: from 0.3.1 to 0.3.2
    • go-header: from 0.4.2 to 0.4.3
    • gofumpt: add module-path setting
    • gofumpt: from 0.2.1 to 0.3.0
    • gopsutil: from 3.22.1 to 3.22.2
    • gosec: from 2.9.6 to 2.10.0
    • makezero: from 1.1.0 to 1.1.1
    • revive: fix default values
    • wrapcheck: from 2.4.0 to 2.5.0
  2. documentation:
    • docs: add "back to the top" button
    • docs: add forbidigo example that uses comments
    • docs: improve linters page
  3. misc:
    • go1.18 support 🎉
    • Add an option to manage the targeted version of Go
    • Default to YAML when config file has no extension

v1.44.2

Compare Source

  1. updated linters:
    • gci: bump to HEAD
    • gci: restore defaults for sections
    • whitespace: from 0.0.4 to 0.0.5
  2. documentation:
    • add link to configuration in the linters list

v1.44.1

Compare Source

  1. updated linters:
    • bidichk: from 0.2.1 to 0.2.2
    • errchkjson: from 0.2.1 to 0.2.3
    • thelper: from 0.5.0 to 0.5.1
    • tagliatelle: from 0.3.0 to 0.3.1
    • gopsutil: from 3.21.12 to 3.22.1
    • gci: from 0.2.9 to 0.3.0
    • revive: from v1.1.3 to v1.1.4
    • varnamelen: from v0.5.0 to v0.6.0
  2. documentation:
    • linters: improve configuration pages
    • decorder: fix disable-init-func-first-check: false elaboration
  3. misc:
    • fix debug output

v1.44.0

Compare Source

  1. new linters:
  2. updated linters:
    • asciicheck: bump to v0.1.1
    • bidichk: from 0.1.1 to 0.2.1
    • bodyclose: bump to HEAD
    • decorder: from 0.2.0 to 0.2.1
    • depguard: from 1.0.1 to 1.1.0
    • errchkjson: from 0.2.0 to 0.2.1
    • errorlint: bump to HEAD
    • exhaustive: drop deprecated/unused settings
    • exhaustive: from v0.2.3 to 0.7.11
    • forbidigo: from 1.2.0 to 1.3.0
    • forcetypeassert: bump to v0.1.0
    • gocritic: from 0.6.1 to 0.6.2
    • gocritic: support autofix
    • gocyclo: from 0.3.1 to 0.4.0
    • godot: add period option
    • gofumpt: from 0.1.1 to 0.2.1
    • gomnd: from 2.4.0 to 2.5.0
    • gomnd: new configuration
    • gosec: from 2.9.1 to 2.9.6
    • ifshort: from 1.0.3 to 1.0.4
    • ineffassign: bump to HEAD
    • makezero: to v1.1.0
    • promlinter: from v0.1.0 to HEAD
    • revive: fix enableAllRules
    • revive: from 1.1.2 to 1.1.3
    • staticcheck: from 0.2.1 to 0.2.2
    • tagliatelle: from 0.2.0 to 0.3.0
    • thelper: from 0.4.0 to 0.5.0
    • unparam: bump to HEAD
    • varnamelen: bump to v0.5.0
    • wrapcheck: update configuration to include ignoreSignRegexps
  3. documentation:
    • linters: improve pages about configuration
    • improve page about false-positive
    • nolintlint: fix wrong default value in comment
    • revive: add a more detailed configuration
  4. misc:
    • outputs: Add support for multiple outputs
    • outputs: Print error text in <failure> tag content for more readable JUnit output
    • outputs: ensure that the Issues key in JSON format is a list
    • Return error if any linter fails to run
    • cli: Show deprecated mark in the CLI linters help

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 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 force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from a515303 to 273d049 Compare March 18, 2022 17:58
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.44.2 fix(deps): update module github.com/golangci/golangci-lint to v1.45.0 Mar 18, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 273d049 to 22f185f Compare March 24, 2022 10:50
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.45.0 fix(deps): update module github.com/golangci/golangci-lint to v1.45.1 Mar 24, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 22f185f to 716aa7f Compare March 24, 2022 12:32
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.45.1 fix(deps): update module github.com/golangci/golangci-lint to v1.45.2 Mar 24, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 716aa7f to 7cbbac5 Compare May 9, 2022 13:48
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.45.2 fix(deps): update module github.com/golangci/golangci-lint to v1.46.0 May 9, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 7cbbac5 to 616742b Compare May 16, 2022 03:28
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.46.0 fix(deps): update module github.com/golangci/golangci-lint to v1.46.1 May 16, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 616742b to bc9e746 Compare June 18, 2022 20:58
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.46.1 fix(deps): update module github.com/golangci/golangci-lint to v1.46.2 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from bc9e746 to 716cf4b Compare September 14, 2022 02:51
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.46.2 fix(deps): update module github.com/golangci/golangci-lint to v1.49.0 Sep 14, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 716cf4b to 3ace76c Compare October 4, 2022 13:34
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.49.0 fix(deps): update module github.com/golangci/golangci-lint to v1.50.0 Oct 4, 2022
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-1.x branch from 3ace76c to 6f72f7c Compare October 22, 2022 11:40
@renovate renovate bot changed the title fix(deps): update module github.com/golangci/golangci-lint to v1.50.0 fix(deps): update module github.com/golangci/golangci-lint to v1.50.1 Oct 22, 2022
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