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

Update dependency golangci/golangci-lint to v1.62.2 #513

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 9, 2023

This PR contains the following updates:

Package Update Change
golangci/golangci-lint minor '1.20.5' -> v1.62.2
golangci/golangci-lint minor v1.53.3 -> v1.62.2

Release Notes

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

v1.62.2

Compare Source

v1.62.1

Compare Source

v1.62.0

Compare Source

  1. New linters
  2. Updated linters
    • ⚠️ execinquery: deprecation step 2
    • ⚠️ gomnd: deprecation step 2 (replaced by mnd)
    • bidichk: from 0.2.7 to 0.3.2 (important performance improvement)
    • canonicalheader: from 1.1.1 to 1.1.2
    • cyclop: from 1.2.1 to 1.2.3
    • dupword: from 0.1.1 to 0.1.3
    • errcheck: from 1.7.0 to 1.8.0
    • errchkjson: from 0.3.6 to 0.4.0
    • errname: from 0.1.13 to 1.0.0
    • ginkgolinter: from 0.17.0 to 0.18.0 (new option: force-succeed)
    • go-check-sumtype: from 0.1.4 to 0.2.0 (new option: default-signifies-exhaustive)
    • go-critic: from 0.11.4 to 0.11.5
    • go-printf-func-name: from 7558a9e to v0.1.0
    • godot: from 1.4.17 to 1.4.18
    • gosec: from 2.21.2 to 2.21.4
    • intrange: from 0.2.0 to 0.2.1
    • loggercheck: from 0.9.4 to 0.10.1 (log/slog support)
    • musttag: from 0.12.2 to 0.13.0
    • nakedret: from 2.0.4 to 2.0.5
    • nilnil: from 0.1.9 to 1.0.0 (new option: detect-opposite)
    • noctx: from 0.0.2 to 0.1.0
    • protogetter: from 0.3.6 to 0.3.8
    • revive: from 1.3.9 to 1.5.0 (new rules: filename-format, and file-length-limit)
    • tenv: from 1.10.0 to 1.12.1 (handle dot import)
    • testifylint: from 1.4.3 to 1.5.0 (new checkers: contains, encoded-compare, regexp)
  3. Misc.
    • Type sizing when cross-compiling (32-bit).
    • code-climate: add check_name field
    • Improve Go version detection
    • Fix Go version propagation
  4. Documentation
    • Adds a section about exclude-dirs-use-default
    • Improve 'install from sources' section
    • Improve FAQ about Go versions
    • Improve linter/rule/check docs
    • Improve new linter section
    • Improve forbidigo pattern examples for built-in functions

v1.61.0

Compare Source

  1. Enhancements
    • Add junit-xml-extended format
    • Exclude Swagger Codegen files by default
  2. Updated linters
    • dupword: from 0.0.14 to 0.1.1
    • fatcontext: from 0.4.0 to 0.5.2
    • gci: from 0.13.4 to 0.13.5 (new option no-lex-order)
    • go-ruleguard: from 0.4.2 to 0fe6f58 (fix panic with custom linters)
    • godot: from 1.4.16 to 1.4.17
    • gomodguard: from 1.3.3 to 1.3.5
    • gosec: disable temporarily G407
    • gosec: from ab3f6c1 to 2.21.2 (partially fix G115)
    • intrange: from 0.1.2 to 0.2.0
    • nolintlint: remove the empty line in the directive replacement
  3. Misc.
    • Improve runtime version parsing
  4. Documentation
    • Add additional info about typecheck

v1.60.3

Compare Source

v1.60.2

Compare Source

v1.60.1

Compare Source

v1.60.0

Compare Source

v1.59.1

Compare Source

  1. Updated linters
    • go-errorlint: from 1.5.1 to 1.5.2
    • gomnd: deprecated configuration compatibility
    • intrange: add style preset
    • misspell: from 0.5.1 to 0.6.0
    • sloglint: from 0.7.0 to 0.7.1
    • testifylint: from 1.3.0 to 1.3.1
    • unparam: bump to HEAD
    • usestdlibvars: from 1.25.0 to 1.26.0
  2. Fixes
    • SARIF: init empty result slice
    • SARIF: issue column >= 1
  3. Documentation
    • update revive configuration

v1.59.0

Compare Source

v1.58.2

Compare Source

  1. Updated linters
    • canonicalheader: from 1.0.6 to 1.1.1
    • gosec: from 2.19.0 to 2.20.0
    • musttag: from 0.12.1 to 0.12.2
    • nilnil: from 0.1.8 to 0.1.9
  2. Documentation
    • Improve integrations and install pages

v1.58.1

Compare Source

v1.58.0

Compare Source

v1.57.2

Compare Source

v1.57.1

Compare Source

Changelog

  • 87b6bf1 build(deps): bump github.com/golangci/plugin-module-register from 0.1.0 to 0.1.1 (#​4549)
  • 921d535 build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 (#​4548)
  • cd890db fix: filter invalid issues before other processors (#​4552)

v1.57.0

Compare Source

v1.56.2

Compare Source

  1. updated linters
    • go-critic: from 0.11.0 to 0.11.1
    • gosec: from 2.18.2 to 2.19.0
    • testifylint: from 1.1.1 to 1.1.2
    • usestdlibvars: from 1.24.0 to 1.25.0
    • wsl: from 4.2.0 to 4.2.1
  2. misc.
    • Fix missing version in Docker image
  3. Documentation
    • Explain the limitation of new-from-rev and new-from-patch

v1.56.1

Compare Source

  1. updated linters
    • errcheck: from 1.6.3 to 1.7.0
    • govet: disable loopclosure with go1.22
    • revive: from 1.3.6 to 1.3.7
    • testifylint: from 1.1.0 to 1.1.1

v1.56.0

Compare Source

  1. new linters
  2. updated linters
    • depguard: from 2.1.0 to 2.2.0
    • exhaustive: from 0.11.0 to 0.12.0
    • exhaustruct: from 3.1.0 to 3.2.0
    • gci: from 0.11.2 to 0.12.1
    • ginkgolinter: from 0.14.1 to 0.15.2
    • go-check-sumtype: from 0.1.3 to 0.1.4
    • go-critic: from 0.9.0 to 0.11.0
    • go-errorlint: from 1.4.5 to 1.4.8
    • go-spancheck: from 0.4.2 to 0.5.2
    • goconst: from 1.6.0 to 1.7.0
    • godot: from 1.4.15 to 1.4.16
    • gofumpt: from 0.5.0 to 0.6.0
    • inamedparam: from 0.1.2 to 0.1.3
    • ineffassign: from 0.0.0-20230610083614-0e73809eb601 to 0.1.0
    • ireturn: from 0.2.2 to 0.3.0
    • misspell: add mode option
    • musttag: from v0.7.2 to v0.8.0
    • paralleltest: from 1.0.8 to 1.0.9
    • perfsprint: from 0.2.0 to 0.6.0
    • protogetter: from 0.2.3 to 0.3.4
    • revive: from 1.3.4 to 1.3.6
    • sloglint: add static-msg option
    • sloglint: from 0.1.2 to 0.4.0
    • testifylint: from 0.2.3 to 1.1.0
    • unparam: from 2022122-7455f1af531d to 2024010-c549a3470d14
    • whitespace: update after moving to the analysis package
    • wsl: from 3.4.0 to 4.2.0
    • zerologlint: from 0.1.3 to 0.1.5
  3. misc.
    • 🎉 go1.22 support
    • Implement stats per linter with a flag
    • Make versioning inside Docker image consistent with binaries
    • Parse Go RC version
  4. Documentation
    • Fix noctx description
    • Add missing fields to .golangci.reference.yml
    • Improve .golangci.reference.yml defaults
    • typecheck: improve FAQ
    • exhaustruct: note that struct regular expressions are expected to match the entire package/name/structname
    • wrapcheck: adjust ignoreSigs to new defaults

Important

testifylint has breaking changes about enabling/disabling checks:

  • If you were using the option enable with a filtered list of checks, you should either add disable-all: true (1) or use disable field (2).

Example (1)

  testifylint:
    disable-all: true
    enable:
      - bool-compare
      - compares
      - empty
      - error-is-as
      - error-nil
      - expected-actual
      - go-require
      - float-compare
      - len
      - nil-compare
      - require-error

- suite-dont-use-pkg

      - suite-extra-assert-call
      - suite-thelper
```

```yml

Example (2)

  testifylint:
    disable:
      - suite-dont-use-pkg
```

v1.55.2

Compare Source

  1. updated linters
    • ireturn: from 0.2.1 to 0.2.2
    • ginkgolinter: from 0.14.0 to 0.14.1

v1.55.1

Compare Source

  1. updated linters
    • gosec: from 2.18.1 to 2.18.2
  2. misc.
    • revgrep: from v0.5.0 to v0.5.2 (support git < 2.41.0)
    • output: convert backslashes to forward slashes for GitHub Action annotations printer

v1.55.0

Compare Source

  1. new linters
  2. updated linters
    • bidichk: from 0.2.4 to 0.2.7
    • decorder: from 0.4.0 to 0.4.1
    • dupword: from 0.0.12 to 0.0.13
    • errchkjson: from 0.3.1 to 0.3.6
    • gci: from 0.11.0 to 0.11.2
    • ginkgolinter: from 0.13.5 to 0.14.0
    • go-errorlint: from 1.4.4 to 1.4.5
    • gocognit: from 1.0.7 to 1.1.0
    • goconst: from 1.5.1 to 1.6.0
    • godot: from 1.4.14 to 1.4.15
    • gofmt: update to HEAD
    • goimports: update to HEAD
    • gosec: from 2.17.0 to 2.18.1
    • gosmopolitan: from 1.2.1 to 1.2.2
    • govet: add appends analyzer
    • ireturn: from 0.2.0 to 0.2.1
    • protogetter: from 0.2.2 to 0.2.3
    • revgrep: from 745bb2f to v0.5.0
    • revive: from 1.3.2 to 1.3.4
    • sqlclosecheck: from 0.4.0 to 0.5.1
    • staticcheck: from 0.4.5 to 0.4.6
    • tagalign: from 1.3.2 to 1.3.3
    • unused: support passing in options
  3. misc.
    • Add a pre-commit hook to check all files
  4. Documentation
    • add source options to exclude-rules docs
    • gosec: add G602 to includes/excludes inside .golangci.reference.yml

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

v1.52.2

Compare Source

  1. updated linters
    • tparallel: from 0.3.0 to 0.3.1
  2. misc.
    • fix: pre-commit require_serial and pass_filenames

v1.52.1

Compare Source

  1. misc.
    • fix: improve panic management
    • fix: the combination of --fix and --path-prefix

v1.52.0

Compare Source

  1. updated linters
    • asciicheck: from 0.1.1 to 0.2.0
    • bidichk: from 0.2.3 to 0.2.4
    • contextcheck: from 1.1.3 to 1.1.4
    • dupword: from 0.0.9 to 0.0.11
    • durationcheck: from 0.0.9 to 0.0.10
    • errchkjson: from 0.3.0 to 0.3.1
    • errname: from 0.1.7 to 0.1.9
    • forbidigo: from 1.4.0 to 1.5.1
    • gci: from 0.9.1 to 0.10.1
    • ginkgolinter: from 0.8.1 to 0.9.0
    • go-critic: from 0.6.7 to 0.7.0
    • go-errorlint: from 1.1.0 to 1.4.0
    • godox: bump to HEAD
    • lll: skip go command
    • loggercheck: from 0.9.3 to 0.9.4
    • musttag: from 0.4.5 to 0.5.0
    • nilnil: from 0.1.1 to 0.1.3
    • noctx: from 0.0.1 to 0.0.2
    • revive: from 1.2.5 to 1.3.1
    • rowserrcheck: remove limitation related to generics support
    • staticcheck: from 0.4.2 to 0.4.3
    • testpackage: from 1.1.0 to 1.1.1
    • tparallel: from 0.2.1 to 0.3.0
    • wastedassign: remove limitation related to generics support
    • wrapcheck: from 2.8.0 to 2.8.1
  2. misc.
    • Add TeamCity output format
    • Consider path prefix when matching path patterns
    • Add Go version to version information
  3. Documentation
    • Add Tekton in Trusted By page
    • Clarify that custom linters are not enabled by default
    • Remove description for deprecated "go" option

v1.51.2

Compare Source

  1. updated linters
    • forbidigo: from 1.3.0 to 1.4.0
    • gci: from 0.9.0 to 0.9.1
    • go-critic: from 0.6.5 to 0.6.7
    • go-errorlint: from 1.0.6 to 1.1.0
    • gosec: from 2.14.0 to 2.15.0
    • musttag: from 0.4.4 to 0.4.5
    • staticcheck: from 0.4.0 to 0.4.2
    • tools: from 0.5.0 to 0.6.0
    • usestdlibvars: from 1.21.1 to 1.23.0
    • wsl: from 3.3.0 to 3.4.0
    • govet: enable timeformat by default
  2. misc.
    • fix: cache status size calculation
    • add new source archive
  3. Documentation
    • Improve installation section
    • Replace links to godoc.org with pkg.go.dev

v1.51.1

Compare Source

  1. updated linters
    • ginkgolinter: from 0.7.1 to 0.8.1
    • ineffassign: bump to HEAD
    • musttag: from 0.4.3 to 0.4.4
    • sqlclosecheck: from 0.3.0 to 0.4.0
    • staticcheck: bump to v0.4.0
    • wastedassign: from 2.0.6 to 2.0.7
    • wrapcheck: from 2.7.0 to 2.8.0

v1.51.0

Compare Source

  1. new linters
  2. updated linters
    • bodyclose: to HEAD
    • dupword: from 0.0.7 to 0.0.9
    • errcheck: from 1.6.2 to 1.6.3
    • exhaustive: from 0.8.3 to 0.9.5
    • exportloopref: from 0.1.8 to 0.1.11
    • gci: from 0.8.1 to 0.9.0
    • ginkgolinter: from 0.6.0 to 0.7.1
    • go-errorlint: from 1.0.5 to 1.0.6
    • go-ruleguard: from 0.3.21 to 0.3.22
    • gocheckcompilerdirectives: from 1.1.0 to 1.2.1
    • gochecknoglobals: from 0.1.0 to 0.2.1
    • gomodguard: from 1.2.4 to 1.3.0
    • gosec: from 2.13.1 to 2.14.0
    • govet: Add timeformat to analysers
    • grouper: from 1.1.0 to 1.1.1
    • musttag: from 0.4.1 to 0.4.3
    • revive: from 1.2.4 to 1.2.5
    • tagliatelle: from 0.3.1 to 0.4.0
    • tenv: from 1.7.0 to 1.7.1
    • unparam: bump to HEAD
    • usestdlibvars: from 1.20.0 to 1.21.1
    • wsl: fix force-err-cuddling flag
  3. misc.
    • go1.20 support
    • remove deprecated linters from presets
    • Build NetBSD binaries
    • Build loong64 binaries
  4. Documentation
    • goimport: improve documentation for local-prefixes
    • gomnd: add missing always ignored functions
    • nolint: fix typo
    • tagliatelle usage typo
    • add note about binary requirement for plugin
    • cache preserving and colored output on docker runs
    • improve documentation about debugging.
    • improve Editor Integration section
    • More specific default cache directory
    • update output example to use valid checkstyle example; add json example

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

v1.43.0

Compare Source

Changelog

bdc2f96 Add code comments to document source code (#​2306)
861262b Add github.com/breml/bidichk linter (#​2330)
3229262 Add nilnil linter (#​2236)
20699a7 Add tenv linter (#​2221)
e612577 Bump gochecknoglobals to v0.1.0 (#​2317)
1be9570 Refactor: preallocate slices (#​2340)
813ba7d Update index.mdx (#​2230)
f500e4c add varnamelen linter (#​2240)
e6c5669 build(deps): bump github.com/Antonboom/errname from 0.1.4 to 0.1.5 (#​2249)
a37843b build(deps): bump github.com/butuzov/ireturn from 0.1.0 to 0.1.1 (#​2246)
680f3e6 build(deps): bump github.com/charithe/durationcheck from 0.0.8 to 0.0.9 (#​2289)
00e4770 build(deps): bump github.com/esimonov/ifshort from 1.0.2 to 1.0.3 (#​2303)
d3fc84b build(deps): bump github.com/fatih/color from 1.12.0 to 1.13.0 (#​2259)
4ce9a19 build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 (#​2041)
5adafe5 build(deps): bump github.com/jingyugao/rowserrcheck from 1.1.0 to 1.1.1 (#​2326)
3fe324a build(deps): bump github.com/kunwardeep/paralleltest from 1.0.2 to 1.0.3 (#​2244)
739ccd3 build(deps): bump github.com/mattn/go-colorable from 0.1.10 to 0.1.11 (#​2277)
c6c55d2 build(deps): bump github.com/mattn/go-colorable from 0.1.8 to 0.1.9 (#​2252)
8f2af02 build(deps): bump github.com/mattn/go-colorable from 0.1.9 to 0.1.10 (#​2260)
78d309e build(deps): bump github.com/mgechev/revive from 1.1.1 to 1.1.2 (#​2276)
1012c10 build(deps): bump github.com/nakabonne/nestif from 0.3.0 to 0.3.1 (#​2325)
6edca92 build(deps): bump github.com/securego/gosec/v2 from 2.8.1 to 2.9.1 (#​2299)
963257f build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.7 to 3.21.8 (#​2225)
b9f015c build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.8 to 3.21.9 (#​2275)
9f62853 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.9 to 3.21.10 (#​2327)
f125831 build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 (#​2243)
60a9d16 build(deps): bump github.com/tetafro/godot from 1.4.10 to 1.4.11 (#​2248)
8c60147 build(deps): bump github.com/tetafro/godot from 1.4.9 to 1.4.10 (#​2226)
2fb6563 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.0 to 2.3.1 (#​2278)
9bb917d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.1 to 2.4.0 (#​2324)
59c7b10 build(deps): bump github.com/valyala/quicktemplate from 1.6.3 to 1.7.0 (#​2250)
5d4fe00 build(deps): bump golang.org/x/tools from 0.1.5 to 0.1.6 (#​2245)
91016ac build(deps): bump tmpl from 1.0.4 to 1.0.5 in /.github/peril (#​2247)
f47f4f5 codeql: Remove unneeded steps (#​2336)
413bec6 errcheck: empty selector name. (#​2309)
7fc2fe8 feat: add contextcheck linter (#​2216)
8cb9c76 fix: Add missing space in "disabled by config" warning (#​2310)
a8887d5 fix: don't hide enable-all option (#​2338)
cf9f3f9 fix: go.sum (#​2262)
2c01ea7 gocritic: add support for variable substitution in ruleguard path settings (#​2308)
cc262bb gosec: filter issues according to the severity and confidence (#​2295)
9b577fc new-from-rev: add support for finding issues in entire files in a diff (#​2264)
2ea496f new-linter: ireturn (checks for function return type) (#​2219)
17d24eb nlreturn: add block-size option (#​2237)

v1.42.1

Compare Source

Changelog

d3705d0 Build docker images with go1.17 (#​2188)
aff4fc0 Update Go versions used by the CI (#​2183)
60b22be build(deps): bump github.com/Antonboom/errname from 0.1.3 to 0.1.4 (#​2192)
791c83e build(deps): bump github.com/mgechev/revive from 1.1.0 to 1.1.1 (#​2201)
a489412 build(deps): bump github.com/tetafro/godot from 1.4.8 to 1.4.9 (#​2200)
4ab17bd errcheck: update to HEAD (#​2213)
54f4301 gci: Parse the settings more similarly to the cli (#​2217)
ee30b44 go-critic: fix invalid type conversions. (#​2186)

v1.42.0

Compare Source

Changelog

652bd91 Add errname linter (#​2129)
c6142e3 Bump staticcheck to 2021.1.1 (v0.2.1) (#​2179)
15963ed Revert "add nilassign linter" (#​2154)
cc0914f Support RISV64 (#​2080)
bbf0450 add nilassign linter (#​2131)
ad4f927 build(deps): bump color-string from 1.5.3 to 1.5.5 in /tools (#​2081)
4f2c272 build(deps): bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1 (#​2165)
879821e build(deps): bump github.com/daixiang0/gci from 0.2.8 to 0.2.9 (#​2085)
2758e45 build(deps): bump github.com/gofrs/flock from 0.8.0 to 0.8.1 (#​2083)
a3d3ac2 build(deps): bump github.com/ldez/gomoddirectives from 0.2.1 to 0.2.2 (#​2125)
38c6baa build(deps): bump github.com/mgechev/revive from 1.0.7 to 1.0.8 (#​2086)
d913078 build(deps): bump github.com/mgechev/revive from 1.0.8 to 1.0.9 (#​2113)
842e1ec build(deps): bump github.com/mgechev/revive from 1.0.9 to 1.1.0 (#​2174)
f285d2c build(deps): bump github.com/nishanths/exhaustive from 0.1.0 to 0.2.3 (#​2112)
959d8db build(deps): bump github.com/ryancurrah/gomodguard from 1.2.2 to 1.2.3 (#​2155)
8ab80c1 build(deps): bump github.com/securego/gosec/v2 from 2.8.0 to 2.8.1 (#​2073)
f090c7b build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.5 to 3.21.6 (#​2106)
85f8a60 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.6 to 3.21.7 (#​2153)
f9a31a0 build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#​2105)
afb042b build(deps): bump github.com/spf13/viper from 1.7.1 to 1.8.0 (#​2072)
5f72314 build(deps): bump github.com/spf13/viper from 1.8.0 to 1.8.1 (#​2082)
3799dd0 build(deps): bump github.com/tetafro/godot from 1.4.7 to 1.4.8 (#​2123)
c36909d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.1.0 to 2.2.0 (#​2071)
9e47090 build(deps): bump github.com/uudashr/gocognit from 1.0.1 to 1.0.5 (#​2122)
1bb6885 build(deps): bump golang.org/x/tools from 0.1.3 to 0.1.4 (#​2084)
511efdb build(deps): bump golang.org/x/tools from 0.1.4 to 0.1.5 (#​2124)
141677d build(deps): bump path-parse from 1.0.6 to 1.0.7 in /.github/peril (#​2169)
b7384b1 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /tools (#​2166)
a6fcf6f cleanup: Remove completion subcommand (#​2107)
6c295e4 deps: Update Wrapcheck to v2.3.0 (#​2145)
b3f9763 errcheck: allow exclude config without extra file (#​2110)
678ae9f gofumpt: Add l


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate-bot label Jul 9, 2023
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.53.3 Update dependency golangci/golangci-lint to v1.54.0 Aug 9, 2023
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch 2 times, most recently from b6777bf to 0c13069 Compare August 11, 2023 14:22
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.54.0 Update dependency golangci/golangci-lint to v1.54.1 Aug 11, 2023
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.54.1 Update dependency golangci/golangci-lint to v1.54.2 Aug 21, 2023
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 0c13069 to 9211dc2 Compare August 21, 2023 12:25
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 9211dc2 to 678609e Compare October 20, 2023 13:54
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.54.2 Update dependency golangci/golangci-lint to v1.55.0 Oct 20, 2023
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 678609e to 1e5f4c7 Compare October 25, 2023 11:10
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.55.0 Update dependency golangci/golangci-lint to v1.55.1 Oct 25, 2023
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 1e5f4c7 to 14ebcac Compare November 3, 2023 15:15
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.55.1 Update dependency golangci/golangci-lint to v1.55.2 Nov 3, 2023
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 14ebcac to 85a8a42 Compare February 7, 2024 15:30
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.55.2 Update dependency golangci/golangci-lint to v1.56.0 Feb 7, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 85a8a42 to d694d9f Compare February 8, 2024 19:14
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.56.0 Update dependency golangci/golangci-lint to v1.56.1 Feb 8, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from d694d9f to 08d8c7e Compare February 15, 2024 18:31
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.56.1 Update dependency golangci/golangci-lint to v1.56.2 Feb 15, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 08d8c7e to 7cbce08 Compare March 20, 2024 00:42
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.56.2 Update dependency golangci/golangci-lint to v1.57.0 Mar 20, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 7cbce08 to db95d17 Compare March 20, 2024 17:48
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.57.0 Update dependency golangci/golangci-lint to v1.57.1 Mar 20, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from db95d17 to 0c09980 Compare March 28, 2024 19:24
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.57.1 Update dependency golangci/golangci-lint to v1.57.2 Mar 28, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 0c09980 to d949107 Compare May 3, 2024 20:00
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.57.2 Update dependency golangci/golangci-lint to v1.58.0 May 3, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from d949107 to 05be0d2 Compare May 8, 2024 19:49
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.58.0 Update dependency golangci/golangci-lint to v1.58.1 May 8, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 05be0d2 to 1478677 Compare May 19, 2024 22:53
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.58.1 Update dependency golangci/golangci-lint to v1.58.2 May 19, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 1478677 to 83ded3f Compare May 26, 2024 22:01
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.58.2 Update dependency golangci/golangci-lint to v1.59.0 May 26, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 83ded3f to ce7d41b Compare June 9, 2024 18:35
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.59.0 Update dependency golangci/golangci-lint to v1.59.1 Jun 9, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from ce7d41b to 9028391 Compare August 13, 2024 20:40
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.59.1 Update dependency golangci/golangci-lint to v1.60.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 9028391 to b5e76e3 Compare August 14, 2024 02:13
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.60.0 Update dependency golangci/golangci-lint to v1.60.1 Aug 14, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from b5e76e3 to f1420f3 Compare August 20, 2024 20:29
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.60.1 Update dependency golangci/golangci-lint to v1.60.2 Aug 20, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from f1420f3 to b13d8b3 Compare August 23, 2024 01:39
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.60.2 Update dependency golangci/golangci-lint to v1.60.3 Aug 23, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from b13d8b3 to 5995030 Compare September 9, 2024 18:39
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.60.3 Update dependency golangci/golangci-lint to v1.61.0 Sep 9, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from 5995030 to fec08fd Compare November 10, 2024 19:40
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.61.0 Update dependency golangci/golangci-lint to v1.62.0 Nov 10, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from fec08fd to af8ad9c Compare November 25, 2024 17:24
@renovate renovate bot changed the title Update dependency golangci/golangci-lint to v1.62.0 Update dependency golangci/golangci-lint to v1.62.2 Nov 25, 2024
@renovate renovate bot force-pushed the renovate/golangci-golangci-lint-1.x branch from af8ad9c to 6d92712 Compare November 30, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants