Update dependency golangci/golangci-lint to v1.43.0 #255
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.38.0
->v1.43.0
Release Notes
golangci/golangci-lint
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 lang-version option (#2069)9ce20f9
revive: add enable-all-rules. (#2075)v1.41.1
Compare Source
Changelog
6924df8
Bump github.com/ryancurrah/gomodguard from 1.2.1 to 1.2.2 (#2065)a207480
revive: fix exclude comment rule for const block. (#2064)v1.41.0
Compare Source
Changelog
52b5514
Bump github.com/jgautheron/goconst from 0.5.6 to 0.5.7(#2044)f900232
Update errorlint to HEAD (#1996)1c2c8ff
Update godot to 1.4.7 (#2010)5d84fa5
Update makezero to HEAD (#2006)46009fb
Update rowserrcheck to v1.1.0 (#1997)2dcc761
Update wastedassign to v2.0.6 (#2020)4c27b33
build(deps): bump actions/cache from 2.1.5 to 2.1.6 (#2023)4e9866a
build(deps): bump github.com/ashanbrown/forbidigo from 1.1.0 to 1.2.0 (#1991)874304d
build(deps): bump github.com/charithe/durationcheck from 0.0.6 to 0.0.7 (#1990)6a269af
build(deps): bump github.com/charithe/durationcheck from 0.0.7 to 0.0.8 (#2052)4143f57
build(deps): bump github.com/fatih/color from 1.10.0 to 1.11.0 (#1992)b5d847f
build(deps): bump github.com/mgechev/revive from 1.0.6 to 1.0.7 (#2027)6ffa139
build(deps): bump github.com/securego/gosec/v2 from 2.7.0 to 2.8.0 (#2025)555cde6
build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.4 to 3.21.5 (#2042)fe0db3d
build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.3.2 to 2.4.0 (#2024)55133bf
build(deps): bump golang.org/x/tools from 0.1.2 to 0.1.3 (#2053)a68a88e
build(deps): bump honnef.co/go/tools from v0.1.4 to v0.2.0 (#2019)fd6fce9
build(deps): bump ws from 5.2.2 to 5.2.3 in /.github/peril (#2045)505ed3c
doc: Un-deprecate enable-all option. (#2039)3c795d8
doc: add all integrations to docs introduction page (#2040)7776b54
gomodguard: fix problem where duplicate issues were being reported (#2018)6172338
nolintlint: fix false positive. (#2013)2862ca6
output: generate HTML report (#2043)eed344f
revive: allow to disable rule (#2055)cf8fd68
revive: fix add-constant rule support. (#2003)fb7c90d
revive: fix excludes (#2005)62668d4
revive: improve 'exported' rule output. (#1994)b916c93
staticcheck: configuration forstaticcheck
,gosimple
,stylecheck
(#2017)v1.40.1
Compare Source
Changelog
f2ba4bc
build(deps): bump hosted-git-info from 2.7.1 to 2.8.9 in /tools (#1968)ce67262
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /.github/peril (#1966)b282d30
build(deps): bump lodash from 4.17.19 to 4.17.21 in /tools (#1964)3aeafb8
build(deps): bump lodash from 4.17.20 to 4.17.21 in /.github/peril (#1967)47baa2c
doc: fix example config yaml identation (#1976)f95b1ed
golint: deprecation (#1965)589c49e
govet: fix sigchanyzer (#1975)625445b
runner: non-zero exit code when a linter produces a panic (#1979)v1.40.0
Compare Source
Changelog
6844f6a
Add promlinter to lint metrics name (#1265)93df6f7
Add tagliatelle linter (#1906)c5891c0
Bump importas to HEAD (#1899)c213e4e
Bump wastedassign to v1.0.0 (#1955)92fda26
Update Wrapcheck to v2, add configuration (#1947)a7865d2
Update errorlint to HEAD (#1933)ffe8061
Update importas to HEAD (#1934)12e3251
Update wrapcheck to v1.2.0 (#1927)d6bcf9f
Update wsl to 3.3.0, sort config in example config (#1922)53a4b41
build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#1918)d252670
build(deps): bump emotion-theming from 10.0.27 to 11.0.0 in /docs . (#1623)5baff12
build(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.1 (#1877)0f3f9ef
build(deps): bump github.com/mgechev/revive from 1.0.5 to 1.0.6 (#1908)7ee6e4d
build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.2 to 3.21.3 (#1890)f1ca682
build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.3 to 3.21.4 (#1951)9e11a08
build(deps): bump github.com/tetafro/godot from 1.4.4 to 1.4.5 (#1907)54bfbb9
build(deps): bump github.com/tetafro/godot from 1.4.5 to 1.4.6 (#1935)42cc784
build(deps): bump github.com/tomarrell/wrapcheck from 1.0.0 to 1.1.0 (#1891)2c00832
build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.3.1 to 2.3.2 (#1919)c9ec73f
build(deps): bump golangci/golangci-lint-action from v2.5.1 to v2.5.2 (#1889)96a7f62
build(deps): bump honnef.co/go/tools from 0.1.3 to 0.1.4 (#1952)07ae877
build(deps): bump y18n from 4.0.0 to 4.0.1 in /.github/peril (#1879)c610079
feat: set the minimum Go version to go1.15 (#1926)1fb67fe
fix release stats badge (#1901)9cb902c
fix: comma in exclude pattern leads to unexpected results (#1917)8f3ad45
gosec: add configuration (#1930)cd9d8bb
govet: Update vet passes (#1950)07a0568
importas: add message if settings contain no aliases (#1956)5c6adb6
importas: allow repeated aliases (#1960)34ffdc2
revive: convert hard coded excludes into default exclude patterns (#1938)12ed5fa
staticcheck: configurable Go version. (#1946)a833cc1
typecheck: improve error stack parsing. (#1886)8da9d3a
update go-critic to v0.5.6 (#1925)v1.39.0
Compare Source
Changelog
94d2d80
Add gomoddirectives linter. (#1817)b6a6faa
Add new presets (#1847)8db518c
Add versions, improve deprecation system, improve linters page (#1854)4bc68c0
Bump gofumpt from v0.1.0 to v0.1.1 (#1834)82778e2
Bump importas to HEAD (#1864)fb394a9
Bump makezero to HEAD (#1865)e381b33
Bump rowserrcheck to HEAD (#1843)8d0075d
Bump staticcheck to 2020.2.3 (v0.1.3) (#1829)03992d0
Bump wrapcheck to v1.0.0 (#1863)fce3949
Deprecate 'scopelint' linter (#1819)2e5e887
Improve issue templates chooser. (#1821)87d37c6
Restore fast linters meaning (#1844)814bf0e
Set version command output to Stdout (#1869)ba6e969
build(deps): bump github.com/go-critic/go-critic from 0.5.4 to 0.5.5 (#1867)e23f80e
build(deps): bump github.com/mgechev/revive from 1.0.3 to 1.0.5 (#1866)714bd28
build(deps): bump github.com/securego/gosec/v2 from 2.6.1 to 2.7.0 (#1823)c11228b
build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.1 to 3.21.2 (#1822)cd2025d
build(deps): bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1 (#1845)7a612da
bump ifshort to v1.0.2 (#1837)351f57b
bump wastedassign to v0.2.0 (#1815)809be02
fix: linters load mode (#1862)e1a734e
nolintlint: allow to fix //nolint lines (#1583)cd6644d
revive: the default configuration is only applied when no dedicated configuration. (#1831)9aea4ae
typecheck: display compilation errors as report instead of error (#1861)Configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.