Releases: golangci/golangci-lint
Releases Β· golangci/golangci-lint
v1.47.0
Changelog
- b415402 Add linter
asasalint
to lint pass []any as any (#2968) - 1d8a15a add nosnakecase lint (#2828)
- 2a1edce build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
- c766184 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
- b8f1e2a build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
- 5e18365 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
- e60937a build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
- 98c811d build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
- 023e1c4 build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
- 7fbb11c build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
- db5d58c build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
- f75b1a8 build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
- 75be924 build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
- 33f4aee build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
- 6a412d3 build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
- 97eea6e build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
- 3a0f646 build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
- 92d7022 build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
- 97d7415 build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
- 0e3730d build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)
- ac99dbc build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 (#2908)
- 8e0a672 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.5 to 3.22.6 (#2959)
- c8e38c4 build(deps): bump github.com/sivchari/tenv from 1.5.0 to 1.6.0 (#2927)
- f70bf66 build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#2933)
- 153b407 build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#2889)
- f03a520 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#2917)
- e33e63e build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#2934)
- 44e9b34 build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#2942)
- bb5b662 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#2957)
- 2c30625 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.1 to 2.6.2 (#2928)
- 9317da6 build(deps): bump github.com/uudashr/gocognit from 1.0.5 to 1.0.6 (#2962)
- 3071fec build(deps): bump gitlab.com/bosi/decorder from 0.2.1 to 0.2.2 (#2943)
- d92f144 build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#2876)
- ddee31a build(deps): bump honnef.co/go/tools from 0.3.1 to 0.3.2 (#2870)
- 9ebc2d5 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)
- f9d8151 bump golang.org/x/tools to HEAD (#2875)
- de7cc56 chore: remove reviewers from dependabot configuration (#2932)
- 86bd842 chore: spelling and grammar fixes (#2865)
- 4b218e6 config: spread go version on linter's configurations (#2913)
- ae2a968 depguard: adjust phrasing (#2921)
- f2634d4 fix: codeQL scanning (#2882)
- 2f41c1f gci: fix issues and re-enable autofix (#2892)
- c531fc2 gosec: allow
global
config (#2880) - 0abb298 staticcheck: fix generics (#2976)
v1.46.2
v1.46.1
v1.46.0
Changelog
- b8c061e Add execinquery linter (#2677)
- 333187c Add nonamedreturns linter (#2701)
- 89e6cd6 Add nosprintfhostport linter (#2749)
- ff93f27 build(deps): bump actions/setup-go from 2 to 3 (#2763)
- 68f5cea build(deps): bump github.com/Antonboom/errname from 0.1.5 to 0.1.6 (#2758)
- b8f973e build(deps): bump github.com/Antonboom/nilnil from 0.1.0 to 0.1.1 (#2757)
- d335b96 build(deps): bump github.com/BurntSushi/toml from 1.0.0 to 1.1.0 (#2755)
- 4aa082a build(deps): bump github.com/breml/bidichk from 0.2.2 to 0.2.3 (#2698)
- 97adeb3 build(deps): bump github.com/breml/errchkjson from 0.2.3 to 0.3.0 (#2695)
- a8723d6 build(deps): bump github.com/fzipp/gocyclo from 0.4.0 to 0.5.0 (#2693)
- e87bd57 build(deps): bump github.com/fzipp/gocyclo from 0.5.0 to 0.5.1 (#2756)
- f7a66d0 build(deps): bump github.com/go-critic/go-critic from 0.6.2 to 0.6.3 (#2759)
- 2982005 build(deps): bump github.com/ldez/gomoddirectives from 0.2.2 to 0.2.3 (#2793)
- 00b1b71 build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (#2741)
- f368405 build(deps): bump github.com/mgechev/revive from 1.2.0 to 1.2.1 (#2760)
- 8edcc41 build(deps): bump github.com/nishanths/predeclared from 0.2.1 to 0.2.2 (#2761)
- 1b1c720 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2691)
- f3c9bd1 build(deps): bump github.com/securego/gosec/v2 from 2.10.0 to 2.11.0 (#2697)
- 7d24a49 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.3 (#2740)
- 8537612 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4 (#2792)
- 80c4a76 build(deps): bump github.com/sivchari/tenv from 1.4.7 to 1.5.0 (#2739)
- 62ab410 build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (#2770)
- 7bed085 build(deps): bump github.com/stbenjam/no-sprintf-host-port (#2781)
- b0ff233 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (#2696)
- b7e13d6 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.0 to 2.6.1 (#2791)
- acceecf build(deps): bump github/codeql-action from 1 to 2 (#2782)
- e4945f7 build(deps): bump honnef.co/go/tools from 0.2.2 to 0.3.0 (#2738)
- 5c77c1b build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.1 (#2780)
- 4472864 build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/contributors (#2685)
- 10cc667 build(deps): bump minimist from 1.2.5 to 1.2.6 in /tools (#2686)
- 7c94fe3 build(deps): bump moment from 2.25.3 to 2.29.2 in /.github/contributors (#2753)
- 74ffd77 build(deps): bump mvdan.cc/gofumpt from 0.3.0 to 0.3.1 (#2694)
- 293b83d build(deps): bump peter-evans/create-pull-request from 3 to 4 (#2699)
- bb2fb45 bump deadcode to HEAD (#2704)
- 7086a94 bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (#2742)
- 023be2e bump varnamelen to v0.6.2 (#2684)
- d2ccc6d bump varnamelen to v0.8.0 (#2703)
- a2e6c76 feat(log): enable override coloring based on CLICOLOR and CLICOLOR_FORCE (#2657)
- 380699a feat: add
exhaustruct
linter (#2667) - 76b5a53 nonamedreturns: bump from 1.0.0 to 1.0.1 (#2776)
- 93f1bd2 promlinter: bump to v0.2.0 (#2789)
- f5b92e1 staticcheck: re-enable for go1.18 (#2746)
- f79bc88 unused: fix false-positive (#2772)
v1.45.2
v1.45.1
Changelog
- da0a6b3 build(deps): bump actions/cache from 2.1.7 to 3 (#2674)
- e187dd8 build(deps): bump github.com/hashicorp/go-version from 1.2.1 to 1.4.0 (#2659)
- ec8d689 build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#2660)
- 243ec6f bump varnamelen to v0.6.1 (#2656)
- 8f7f44d depguard: reduce requirements (#2672)
- 7bbbe77 feat: automatic Go version detection (#2669)
- f055441 fix: disable structcheck with go1.18 (#2666)
- 93feed1 fix: update base images (#2661)
v1.45.0
Changelog
- ea1df6f Default to YAML when config file has no extension (#2618)
- 93a0015 build(deps): bump actions/checkout from 2 to 3 (#2643)
- 176ef3f build(deps): bump actions/setup-node from 2 to 3 (#2628)
- adc0d8e build(deps): bump github.com/ashanbrown/makezero from 1.1.0 to 1.1.1 (#2621)
- 8f9bc4a build(deps): bump github.com/daixiang0/gci from 0.3.1 to 0.3.2 (#2640)
- 6fc688a build(deps): bump github.com/securego/gosec/v2 from 2.9.6 to 2.10.0 (#2624)
- da08d2b build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.1 to 3.22.2 (#2641)
- 873a27e build(deps): bump github.com/sivchari/containedctx from 1.0.1 to 1.0.2 (#2623)
- ec95236 build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (#2646)
- 0e7233e build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.4.0 to 2.5.0 (#2603)
- 0bcc0a3 build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (#2627)
- 5ffadac build(deps): bump mvdan.cc/gofumpt from 0.2.1 to 0.3.0 (#2622)
- d5ebd7e build(deps): bump node-fetch in /.github/contributors (#2616)
- 5ddb5e7 bump github.com/daixiang0/gci to v0.3.1 (#2596)
- 56d77e2 bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 (#2614)
- 2f68995 errcheck: add an option to remove default exclusions (#2607)
- 1f4c1ed fix: completion for fish-shell
- 0c0804c go1.18 support (#2438)
- 42ca644 gofumpt: add module-path setting (#2644)
- 30c6166 revive: fix default values (#2611)
v1.44.2
v1.44.1
Changelog
- bf44200 Revert "build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (#2534)" (#2538)
- 39a76b8 build(deps): bump ajv from 6.12.2 to 6.12.6 in /.github/peril (#2564)
- 9d04792 build(deps): bump github.com/breml/bidichk from 0.2.1 to 0.2.2 (#2572)
- 18c25f7 build(deps): bump github.com/breml/errchkjson from 0.2.1 to 0.2.2 (#2559)
- af6159c build(deps): bump github.com/breml/errchkjson from 0.2.2 to 0.2.3 (#2570)
- b221c97 build(deps): bump github.com/kulti/thelper from 0.5.0 to 0.5.1 (#2535)
- 015c8e5 build(deps): bump github.com/ldez/tagliatelle from 0.3.0 to 0.3.1 (#2557)
- 331073a build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2556)
- 19e8713 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2571)
- 717b99c build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.1 (#2558)
- 181c61f build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (#2534)
- f7d2406 bump github.com/daixiang0/gci from 0.2.9 to 0.3.0 (#2532)
- 05e7d32 bump github.com/mgechev/revive from v1.1.3 to v1.1.4 (#2576)
- 8d3c6e1 bump varnamelen from v0.5.0 to v0.6.0 (#2551)
- 07f9b12 docs(decorder): fix
disable-init-func-first-check: false
elaboration (#2560) - 3d733a2 fix debug output (#2531)
- 9a70e9a gci: fix configuration naming (#2578)
v1.44.0
Changelog
- 32cf48e Add "grouper" linter (#2497)
- 63f150e Add decorder linter (#2453)
- 5535897 Add errchkjson linter (#2362)
- e3d0247 Add maintidx linter (#2435)
- d209389 Add support for multiple outputs (#2386)
- efb3599 Bump github.com/ashanbrown/forbidigo from 1.2.0 to 1.3.0 (#2487)
- 6e2e51d Bump makezero to v1.1.0 (#2490)
- e788757 Ensure that the Issues key in JSON format is a list (#2358)
- eaed228 Print error text in tag content for more readable junit report (#2460)
- b5d8e69 Return error if any linter fails to run (#2471)
- ec58c48 Show deprecated mark in the CLI linters help (#2350)
- 68f530a add containedctx linter (#2382)
- c53eb78 asciicheck: bump to v0.1.1 (#2510)
- ae53718 bodyclose: bump to HEAD (#2508)
- ba3453d build(deps): bump actions/cache from 2.1.6 to 2.1.7 (#2383)
- 80659f8 build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (#2491)
- 8bc9562 build(deps): bump github.com/breml/bidichk from 0.2.0 to 0.2.1 (#2354)
- f311ffd build(deps): bump github.com/breml/errchkjson from 0.2.0 to 0.2.1 (#2493)
- ec2820c build(deps): bump github.com/esimonov/ifshort from 1.0.3 to 1.0.4 (#2436)
- 83962f4 build(deps): bump github.com/fzipp/gocyclo from 0.3.1 to 0.4.0 (#2425)
- 6ddb907 build(deps): bump github.com/go-critic/go-critic from 0.6.1 to 0.6.2 (#2474)
- a79803f build(deps): bump github.com/kulti/thelper from 0.4.0 to 0.5.0 (#2492)
- 9e12949 build(deps): bump github.com/ldez/tagliatelle from 0.2.0 to 0.3.0 (#2454)
- 0ac5d37 build(deps): bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12 (#2384)
- 620bd9b build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (#2517)
- ecbb9c4 build(deps): bump github.com/nishanths/exhaustive from 0.3.6 to 0.6.0 (#2353)
- fc888cf build(deps): bump github.com/nishanths/exhaustive from 0.6.0 to 0.7.11 (#2371)
- 88d3ec0 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2455)
- 131ab76 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2472)
- 441d844 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2519)
- 7d5bc8f build(deps): bump github.com/securego/gosec/v2 from 2.9.1 to 2.9.2 (#2372)
- d0aead4 build(deps): bump github.com/securego/gosec/v2 from 2.9.2 to 2.9.3 (#2385)
- 56f27d0 build(deps): bump github.com/securego/gosec/v2 from 2.9.3 to 2.9.5 (#2413)
- 9bad615 build(deps): bump github.com/securego/gosec/v2 from 2.9.5 to 2.9.6 (#2516)
- d29d9f1 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.10 to 3.21.11 (#2405)
- b4a3bd8 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.11 to 3.21.12 (#2456)
- ca8cd60 build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#2426)
- 4ca6a2f build(deps): bump github.com/spf13/viper from 1.10.0 to 1.10.1 (#2424)
- f960879 build(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.0 (#2412)
- 018befd build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.4.0 to 2.5.0 (#2518)
- 8cdecc9 build(deps): bump gitlab.com/bosi/decorder from 0.2.0 to 0.2.1 (#2473)
- 4119132 build(deps): bump honnef.co/go/tools from 0.2.1 to 0.2.2 (#2370)
- b845512 build(deps): bump mvdan.cc/gofumpt from 0.1.1 to 0.2.0 (#2373)
- 107b830 build(deps): bump mvdan.cc/gofumpt from 0.2.0 to 0.2.1 (#2427)
- 4950169 bump bidichk from v0.1.1 to v0.2.0
- a471733 bump github.com/yeya24/promlinter from v0.1.0 to HEAD (#2500)
- 7f25fee bump varnamelen from v0.4.0 to v0.5.0 (#2369)
- 1b53520 bump varnamelen to v0.4.0 (#2348)
- 138699d depguard: updates configuration (#2467)
- 3a6417c doc: improve revive documentation (#2458)
- 617470f docs(revive): fix typo on the option
disabled
(#2520) - 7a71443 errorlint: bump to HEAD (#2507)
- cf053b2 exhaustive: drop deprecated/unused settings (#2482)
- 054fc3f exhaustive: upgrade to v0.3.6; add new flags and deprecate old ones (#2344)
- d52a8fc fix: importas no-extra-aliases (#2503)
- aa3550a fix: reduce flaky in the CI and clean the .golangci.yml of the project (#2359)
- 9d9855c fix: update uname_os from shlib in install.sh (#1944) (#2388)
- 44474a1 forcetypeassert: bump to v0.1.0 (#2511)
- 3d17f2f gocritic: support autofix (#2450)
- 95b9b23 godot: add period option (#2483)
- 1685402 gomnd: new configuration (#2498)
- 59c6d29 importas: new option
no-extra-aliases
(#2494) - 171b3ca ineffassign: bump to HEAD (#2509)
- 29eedbf pkg/result/processors: compile nolint regexp only once (#2463)
- b3a8da4 revive: fix enableAllRules (#2380)
- 0fe8d4f unparam: bump to HEAD (#2506)
- dff995c varnamelen: explicit default values (#2496)
- a5f0a4d wrapcheck: update configuration to include ignoreSignRegexps (#2379)