Skip to content

Releases: golangci/golangci-lint

v1.46.1

12 May 09:39
044f0a1
Compare
Choose a tag to compare

Changelog

  • 044f0a1 bump github.com/lufeee/execinquery from v1.0.0 to v1.2.0 (#2845)

v1.46.0

09 May 11:35
7c1d8b7
Compare
Choose a tag to compare

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

24 Mar 12:07
8bdc4d3
Compare
Choose a tag to compare

Changelog

v1.45.1

24 Mar 08:42
7bbbe77
Compare
Choose a tag to compare

Changelog

v1.45.0

18 Mar 15:24
1f4c1ed
Compare
Choose a tag to compare

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

17 Feb 21:17
d58dbde
Compare
Choose a tag to compare

Changelog

  • cad735b build(deps): bump github.com/ultraware/whitespace from 0.0.4 to 0.0.5 (#2580)
  • eeda375 bump github.com/daixiang0/gci to HEAD (#2593)
  • 4f20929 gci: restore defaults for sections (#2589)

v1.44.1

17 Feb 11:45
9a70e9a
Compare
Choose a tag to compare

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

25 Jan 11:46
617470f
Compare
Choose a tag to compare

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)

v1.43.0

03 Nov 12:16
861262b
Compare
Choose a tag to compare

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

06 Sep 17:22
54f4301
Compare
Choose a tag to compare

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)