chore(deps): update dependency golangci/golangci-lint
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
golangci/golangci-lint | minor |
1.42.1 -> 1.46.2
|
|
golangci/golangci-lint | repository | minor |
v1.44.0 -> v1.46.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
v1.46.2
- updated linters:
-
execinquery
: bump from v1.2.0 to v1.2.1 -
errorlint
: bump to v1.0.0 -
thelper
: allow to disable one option
-
- documentation:
- rename
.golangci.example.yml
to.golangci.reference.yml
- add
containedctx
linter to the list of available linters
- rename
v1.46.1
- updated linters:
-
execinquery
: bump from v0.6.0 to v0.6.1
-
- documentation:
- add missing linters
v1.46.0
- 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
-
- 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 useexhaustruct
instead.
-
- documentation:
- Update "Shell Completion" instruction on Linux
- Update FAQ page
- misc:
- log: enable override coloring based on
CLICOLOR
andCLICOLOR_FORCE
- log: enable override coloring based on
v1.45.2
- misc:
- fix: help command
v1.45.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
-
- misc:
- Automatic Go version detection
🎉 (go1.18) - docker: update base images (go1.18)
- Automatic Go version detection
v1.45.0
- 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
-
- documentation:
- docs: add "back to the top" button
- docs: add
forbidigo
example that uses comments - docs: improve linters page
- misc:
- go1.18 support
🎉 - Add an option to manage the targeted version of Go
- Default to YAML when config file has no extension
- go1.18 support
v1.44.2
- updated linters:
-
gci
: bump to HEAD -
gci
: restore defaults for sections -
whitespace
: from 0.0.4 to 0.0.5
-
- documentation:
- add link to configuration in the linters list
v1.44.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
-
- documentation:
- linters: improve configuration pages
-
decorder
: fixdisable-init-func-first-check: false
elaboration
- misc:
- fix debug output
v1.44.0
- 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
-
- 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
: fixenableAllRules
-
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 includeignoreSignRegexps
-
- documentation:
- linters: improve pages about configuration
- improve page about false-positive
-
nolintlint
: fix wrong default value in comment -
revive
: add a more detailed configuration
- 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
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)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.