idodod / protoc-gen-fieldmask

A protoc plugin that generates fieldmask paths
MIT License
23 stars 3 forks source link

Update dependency golangci/golangci-lint to v1.49.0 #22

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Update Change
golangci/golangci-lint minor v1.43.0 -> v1.49.0

Release Notes

golangci/golangci-lint ### [`v1.49.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1490) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.48.0...v1.49.0) IMPORTANT: `varcheck` and `deadcode` has been removed of default linters. 1. new linters - `interfacebloat`: https://github.com/sashamelentyev/interfacebloat - `logrlint`: https://github.com/timonwong/logrlint - `reassign`: https://github.com/curioswitch/go-reassign 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1480) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.47.3...v1.48.0) 1. new linters - `usestdlibvars`:https://github.com/sashamelentyev/usestdlibvars 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1473) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.47.2...v1.47.3) 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1472) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.47.1...v1.47.2) 1. updated linters: - `revive`: ignore slow rules ### [`v1.47.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1471) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.47.0...v1.47.1) 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1470) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.46.2...v1.47.0) 1. new linters: - `asasalint`: https://github.com/alingse/asasalint - `nosnakecase`: https://github.com/sivchari/nosnakecase 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1462) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.46.1...v1.46.2) 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1461) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.46.0...v1.46.1) 1. updated linters: - `execinquery`: bump from v0.6.0 to v0.6.1 2. documentation: - add missing linters ### [`v1.46.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1460) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.45.2...v1.46.0) 1. new linters: - `execinquery`: https://github.com/lufeee/execinquery - `nonamedreturns`: https://github.com/firefart/nonamedreturns - `nosprintfhostport`: https://github.com/stbenjam/no-sprintf-host-port - `exhaustruct`: https://github.com/GaijinEntertainment/go-exhaustruct 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1452) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.45.1...v1.45.2) 1. misc: - fix: help command ### [`v1.45.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1451) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.45.0...v1.45.1) 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1450) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.44.2...v1.45.0) 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1442) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.44.1...v1.44.2) 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1441) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.44.0...v1.44.1) 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`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1440) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.43.0...v1.44.0) 1. new linters: - `containedctx`: https://github.com/sivchari/containedctx - `decorder`: https://gitlab.com/bosi/decorder - `errchkjson`: https://github.com/breml/errchkjson - `maintidx`: https://github.com/yagipy/maintidx - `grouper`: https://github.com/leonklingele/grouper 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 `` 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.



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