-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
go1.18 support #2438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go1.18 support #2438
Conversation
71f6a93
to
a37045e
Compare
5c8923a
to
696309f
Compare
Hey @ldez, any help required? |
@ernado not really because the main problem is SSA. The linters that use SSA cannot work without the support of generics in |
c3febcc
to
e53720d
Compare
6af3cf7
to
39f9688
Compare
39f8d94
to
6cbcc4f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hello, I think we should also omit the linter A code like this: type Foo[T any] struct {
t T
}
func (f Foo[T]) Get() T {
return f.t
} will trigger
but will execute fine if there is no generic type in the structure |
* Add Go 1.18 support * fix Gosec Security Scanner https://github.com/valyala/fasthttp/runs/5595618634?check_suite_focus=true * fix securego/gosec#469 (comment) Gosec Github Action Doesn't Work at Go 1.18 * fix golangci/golangci-lint#2438 golangci/golangci-lint Doesn't Work at Go 1.18 * fix golint unused * fix golint: SA1019: netErr.Temporary is deprecated * fix #1256
* Add Go 1.18 support * fix Gosec Security Scanner https://github.com/valyala/fasthttp/runs/5595618634?check_suite_focus=true * fix securego/gosec#469 (comment) Gosec Github Action Doesn't Work at Go 1.18 * fix golangci/golangci-lint#2438 golangci/golangci-lint Doesn't Work at Go 1.18 * fix golint unused * fix golint: SA1019: netErr.Temporary is deprecated * fix valyala#1256
* Add Go 1.18 support * fix Gosec Security Scanner https://github.com/valyala/fasthttp/runs/5595618634?check_suite_focus=true * fix securego/gosec#469 (comment) Gosec Github Action Doesn't Work at Go 1.18 * fix golangci/golangci-lint#2438 golangci/golangci-lint Doesn't Work at Go 1.18 * fix golint unused * fix golint: SA1019: netErr.Temporary is deprecated * fix valyala#1256
* go 1.18 gsed -i 's/1\.17/1.18/' Dockerfile* go.mod .github/workflows/* * golangci-lint 1.45 golangci/golangci-lint#2438 https://github.com/golangci/golangci-lint/releases/tag/v1.45.0
* nlreturn: add block-size option (golangci#2237) * build(deps): bump github.com/butuzov/ireturn from 0.1.0 to 0.1.1 (golangci#2246) Bumps [github.com/butuzov/ireturn](https://github.com/butuzov/ireturn) from 0.1.0 to 0.1.1. - [Release notes](https://github.com/butuzov/ireturn/releases) - [Changelog](https://github.com/butuzov/ireturn/blob/main/.goreleaser.yaml) - [Commits](butuzov/ireturn@v0.1.0...v0.1.1) --- updated-dependencies: - dependency-name: github.com/butuzov/ireturn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 (golangci#2243) * build(deps): bump tmpl from 1.0.4 to 1.0.5 in /.github/peril (golangci#2247) * build(deps): bump github.com/kunwardeep/paralleltest from 1.0.2 to 1.0.3 (golangci#2244) * build(deps): bump github.com/tetafro/godot from 1.4.10 to 1.4.11 (golangci#2248) * build(deps): bump github.com/Antonboom/errname from 0.1.4 to 0.1.5 (golangci#2249) * build(deps): bump golang.org/x/tools from 0.1.5 to 0.1.6 (golangci#2245) * build(deps): bump github.com/valyala/quicktemplate from 1.6.3 to 1.7.0 (golangci#2250) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/mattn/go-colorable from 0.1.8 to 0.1.9 (golangci#2252) Co-authored-by: Fernandez Ludovic <[email protected]> * Add tenv linter (golangci#2221) * build(deps): bump github.com/fatih/color from 1.12.0 to 1.13.0 (golangci#2259) * build(deps): bump github.com/mattn/go-colorable from 0.1.9 to 0.1.10 (golangci#2260) * fix: go.sum (golangci#2262) * new-from-rev: add support for finding issues in entire files in a diff (golangci#2264) * build(deps): bump gatsby-plugin-robots-txt from 1.6.9 to 1.6.10 in /docs (golangci#2269) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2265) * build(deps): bump gatsby-plugin-mdx from 2.13.0 to 2.14.0 in /docs (golangci#2267) * build(deps): bump puppeteer from 10.2.0 to 10.4.0 in /docs (golangci#2266) * build(deps): bump gatsby-plugin-offline from 4.13.0 to 4.14.0 in /docs (golangci#2270) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2272) * build(deps): bump gatsby-plugin-sitemap from 4.9.0 to 4.10.0 in /docs (golangci#2271) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 4.9.0 to 4.10.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.8 to 3.21.9 (golangci#2275) * build(deps): bump github.com/mgechev/revive from 1.1.1 to 1.1.2 (golangci#2276) * build(deps): bump github.com/mattn/go-colorable from 0.1.10 to 0.1.11 (golangci#2277) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.0 to 2.3.1 (golangci#2278) * feat: add contextcheck linter (golangci#2216) * build(deps): bump github.com/charithe/durationcheck from 0.0.8 to 0.0.9 (golangci#2289) Bumps [github.com/charithe/durationcheck](https://github.com/charithe/durationcheck) from 0.0.8 to 0.0.9. - [Release notes](https://github.com/charithe/durationcheck/releases) - [Commits](charithe/durationcheck@v0.0.8...v0.0.9) --- updated-dependencies: - dependency-name: github.com/charithe/durationcheck dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/securego/gosec/v2 from 2.8.1 to 2.9.1 (golangci#2299) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 (golangci#2041) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/esimonov/ifshort from 1.0.2 to 1.0.3 (golangci#2303) * Add code comments to document source code (golangci#2306) * errcheck: empty selector name. (golangci#2309) * add varnamelen linter (golangci#2240) * gosec: filter issues according to the severity and confidence (golangci#2295) * Bump gochecknoglobals to v0.1.0 (golangci#2317) * dev: replace ioutil with io and os (golangci#2318) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.1 to 2.4.0 (golangci#2324) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.9 to 3.21.10 (golangci#2327) * build(deps): bump gatsby-plugin-offline from 4.14.0 to 5.0.0 in /docs (golangci#2322) * build(deps): bump gatsby-plugin-react-svg from 3.0.1 to 3.1.0 in /docs (golangci#2323) * build(deps): bump github.com/jingyugao/rowserrcheck from 1.1.0 to 1.1.1 (golangci#2326) * build(deps): bump github.com/nakabonne/nestif from 0.3.0 to 0.3.1 (golangci#2325) Co-authored-by: Fernandez Ludovic <[email protected]> * docs: clarify nolintlint.allow-unused (golangci#2319) * build(deps): bump gatsby-plugin-sitemap from 4.10.0 to 5.0.0 in /docs (golangci#2320) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 4.10.0 to 5.0.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/[email protected]/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump react-headroom from 3.1.1 to 3.2.0 in /docs (golangci#2333) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2321) * build(deps): bump react-icons from 4.2.0 to 4.3.1 in /docs (golangci#2334) * build(deps): bump @emotion/react from 11.4.1 to 11.5.0 in /docs (golangci#2331) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2335) * build(deps): bump gatsby-plugin-robots-txt in /docs (golangci#2332) * fix: Add missing space in "disabled by config" warning (golangci#2310) Before this change, the message said "However, as this checkis disabled by default". * codeql: Remove unneeded steps (golangci#2336) Remove executing build and test, there is a special workflow for this and CodeQL does not require running any go code or building the app Remove `git checkout HEAD^2`, not needed anymore: Warning: 1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results. Add permission to write the security events * fix: don't hide enable-all option (golangci#2338) * Refactor: preallocate slices (golangci#2340) * docs: change Github to GitHub in comments and docs (golangci#2341) * gocritic: add support for variable substitution in ruleguard path settings (golangci#2308) * Add variable for ruleguard config directory * Add variable for ruleguard config directory * Add variable for ruleguard config directory * Add variable for ruleguard config directory * Add unit tests * Add unit tests for ruleguard * Add unit tests for ruleguard * Add unit tests for ruleguard * Add unit tests for ruleguard, fix package name * docs: add documentation for go-critic and ruleguard settings (golangci#2304) * Add github.com/breml/bidichk linter (golangci#2330) * docs: Update documentation and assets (golangci#2342) Co-authored-by: Fernandez Ludovic <[email protected]> * exhaustive: upgrade to v0.3.6; add new flags and deprecate old ones (golangci#2344) * bump varnamelen to v0.4.0 (golangci#2348) * bump bidichk from v0.1.1 to v0.2.0 * docs: fix a typo and a syntax error in architecture.mdx (golangci#2351) * build(deps): bump github.com/breml/bidichk from 0.2.0 to 0.2.1 (golangci#2354) * build(deps): bump github.com/nishanths/exhaustive from 0.3.6 to 0.6.0 (golangci#2353) Co-authored-by: Fernandez Ludovic <[email protected]> * docs: fix grammar issues in comments (golangci#2352) * fix: reduce flaky in the CI and clean the .golangci.yml of the project (golangci#2359) * fix: clean linter configuration * fix: minor changes * fix: increase timeout * Ensure that the Issues key in JSON format is a list (golangci#2358) This makes the data more consistent and easier to use with other tools. For example, a third-party tool can iterate over `Issues` without having to make a preliminary null check. * Show deprecated mark in the CLI linters help (golangci#2350) * Show deprecated mark in linters list * fix output deprecated mark in linters list * docs: fix wrong default value in comment (golangci#2360) * dev: reused exit codes (golangci#2364) * dev: clean up and used iota for exit codes (golangci#2366) * bump varnamelen from v0.4.0 to v0.5.0 (golangci#2369) * build(deps): bump honnef.co/go/tools from 0.2.1 to 0.2.2 (golangci#2370) * build(deps): bump github.com/securego/gosec/v2 from 2.9.1 to 2.9.2 (golangci#2372) * build(deps): bump mvdan.cc/gofumpt from 0.1.1 to 0.2.0 (golangci#2373) * build(deps): bump github.com/nishanths/exhaustive from 0.6.0 to 0.7.11 (golangci#2371) Co-authored-by: Fernandez Ludovic <[email protected]> * Add errchkjson linter (golangci#2362) * wrapcheck: update configuration to include ignoreSignRegexps (golangci#2379) * build(deps): bump actions/cache from 2.1.6 to 2.1.7 (golangci#2383) * build(deps): bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12 (golangci#2384) * build(deps): bump github.com/securego/gosec/v2 from 2.9.2 to 2.9.3 (golangci#2385) * build(deps): bump @emotion/react from 11.5.0 to 11.7.0 in /docs (golangci#2389) * build(deps): bump gatsby-plugin-offline from 5.0.0 to 5.3.0 in /docs (golangci#2390) * build(deps): bump gatsby-plugin-sitemap from 5.0.0 to 5.3.0 in /docs (golangci#2391) * build(deps): bump puppeteer from 10.4.0 to 12.0.1 in /docs (golangci#2392) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2396) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2398) * build(deps): bump @emotion/styled from 11.3.0 to 11.6.0 in /docs (golangci#2397) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.10 to 3.21.11 (golangci#2405) Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.21.10 to 3.21.11. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](shirou/gopsutil@v3.21.10...v3.21.11) --- updated-dependencies: - dependency-name: github.com/shirou/gopsutil/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/securego/gosec/v2 from 2.9.3 to 2.9.5 (golangci#2413) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.0 (golangci#2412) * revive: fix enableAllRules (golangci#2380) * build(deps): bump github.com/fzipp/gocyclo from 0.3.1 to 0.4.0 (golangci#2425) Bumps [github.com/fzipp/gocyclo](https://github.com/fzipp/gocyclo) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/fzipp/gocyclo/releases) - [Changelog](https://github.com/fzipp/gocyclo/blob/main/CHANGELOG.md) - [Commits](fzipp/gocyclo@v0.3.1...v0.4.0) --- updated-dependencies: - dependency-name: github.com/fzipp/gocyclo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump mvdan.cc/gofumpt from 0.2.0 to 0.2.1 (golangci#2427) Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.2.0 to 0.2.1. - [Release notes](https://github.com/mvdan/gofumpt/releases) - [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md) - [Commits](mvdan/gofumpt@v0.2.0...v0.2.1) --- updated-dependencies: - dependency-name: mvdan.cc/gofumpt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/spf13/viper from 1.10.0 to 1.10.1 (golangci#2424) Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.0 to 1.10.1. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](spf13/viper@v1.10.0...v1.10.1) --- updated-dependencies: - dependency-name: github.com/spf13/viper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (golangci#2426) * build(deps): bump github.com/esimonov/ifshort from 1.0.3 to 1.0.4 (golangci#2436) * dev: sorting linters by alphabet (ascending order) (golangci#2437) Co-authored-by: Fernandez Ludovic <[email protected]> * fix: update uname_os from shlib in install.sh (golangci#1944) (golangci#2388) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2441) * build(deps): bump puppeteer from 12.0.1 to 13.0.1 in /docs (golangci#2442) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2443) * build(deps): bump @emotion/react from 11.7.0 to 11.7.1 in /docs (golangci#2446) * build(deps): bump prop-types from 15.7.2 to 15.8.0 in /docs (golangci#2444) * build(deps): bump gatsby-plugin-sitemap from 5.3.0 to 5.4.0 in /docs (golangci#2447) * build(deps): bump gatsby-plugin-offline from 5.3.0 to 5.4.0 in /docs (golangci#2448) * gocritic: support autofix (golangci#2450) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.11 to 3.21.12 (golangci#2456) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2455) * build(deps): bump github.com/ldez/tagliatelle from 0.2.0 to 0.3.0 (golangci#2454) * doc: improve revive documentation (golangci#2458) * dev: improve and clean fix_test (golangci#2457) * docs: more revive examples (golangci#2459) * Add support for multiple outputs (golangci#2386) * Add decorder linter (golangci#2453) * Print error text in <failure> tag content for more readable junit report (golangci#2460) * pkg/result/processors: compile nolint regexp only once (golangci#2463) * depguard: updates configuration (golangci#2467) Co-authored-by: Fernandez Ludovic <[email protected]> * dev: add printers unit tests. (golangci#2461) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2472) * build(deps): bump github.com/go-critic/go-critic from 0.6.1 to 0.6.2 (golangci#2474) * build(deps): bump gitlab.com/bosi/decorder from 0.2.0 to 0.2.1 (golangci#2473) * docs: updates usage settings for `go-mnd` (golangci#2476) * exhaustive: drop deprecated/unused settings (golangci#2482) * godot: add period option (golangci#2483) * Return error if any linter fails to run (golangci#2471) * Bump github.com/ashanbrown/forbidigo from 1.2.0 to 1.3.0 (golangci#2487) * Bump makezero to v1.1.0 (golangci#2490) * build(deps): bump github.com/kulti/thelper from 0.4.0 to 0.5.0 (golangci#2492) Bumps [github.com/kulti/thelper](https://github.com/kulti/thelper) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/kulti/thelper/releases) - [Changelog](https://github.com/kulti/thelper/blob/master/.goreleaser.yml) - [Commits](kulti/thelper@v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: github.com/kulti/thelper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/breml/errchkjson from 0.2.0 to 0.2.1 (golangci#2493) * build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (golangci#2491) * dev: rename `rowserrcheck` linter file to match linter name. (golangci#2495) * Add maintidx linter (golangci#2435) * varnamelen: explicit default values (golangci#2496) * gomnd: new configuration (golangci#2498) * add containedctx linter (golangci#2382) * importas: new option `no-extra-aliases` (golangci#2494) * bump github.com/yeya24/promlinter from v0.1.0 to HEAD (golangci#2500) * docs: improve linters settings section (golangci#2499) * docs: split configuration page into multiple sections (golangci#2484) * fix: importas no-extra-aliases (golangci#2503) * docs: improve configuration file content (golangci#2501) * docs: improve page about false-postive (golangci#2502) * unparam: bump to HEAD (golangci#2506) * errorlint: bump to HEAD (golangci#2507) * bodyclose: bump to HEAD (golangci#2508) * ineffassign: bump to HEAD (golangci#2509) * asciicheck: bump to v0.1.1 (golangci#2510) * forcetypeassert: bump to v0.1.0 (golangci#2511) * docs: improve configuration documentation (golangci#2514) * build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.4.0 to 2.5.0 (golangci#2518) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2519) * build(deps): bump github.com/securego/gosec/v2 from 2.9.5 to 2.9.6 (golangci#2516) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (golangci#2517) Co-authored-by: Fernandez Ludovic <[email protected]> * Add "grouper" linter (golangci#2497) * docs(revive): fix typo on the option `disabled`(golangci#2520) * docs: Update documentation and assets (golangci#2521) Co-authored-by: Fernandez Ludovic <[email protected]> * docs: fix misinterpreted XML tag in changelog (golangci#2522) * fix debug output (golangci#2531) * build(deps): bump github.com/kulti/thelper from 0.5.0 to 0.5.1 (golangci#2535) Bumps [github.com/kulti/thelper](https://github.com/kulti/thelper) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/kulti/thelper/releases) - [Changelog](https://github.com/kulti/thelper/blob/master/.goreleaser.yml) - [Commits](kulti/thelper@v0.5.0...v0.5.1) --- updated-dependencies: - dependency-name: github.com/kulti/thelper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump ws from 6.2.1 to 6.2.2 in /docs (golangci#2537) Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@6.2.1...6.2.2) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (golangci#2534) Bumps [github.com/sylvia7788/contextcheck](https://github.com/sylvia7788/contextcheck) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/sylvia7788/contextcheck/releases) - [Commits](kkHAIKE/contextcheck@v1.0.4...v1.0.5) --- updated-dependencies: - dependency-name: github.com/sylvia7788/contextcheck dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump ssri from 6.0.1 to 6.0.2 in /docs (golangci#2536) * Revert "build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (golangci#2534)" (golangci#2538) This reverts commit 181c61f. * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2539) Bumps [gatsby-plugin-google-analytics](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-google-analytics) from 4.4.0 to 4.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-analytics/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-google-analytics) --- updated-dependencies: - dependency-name: gatsby-plugin-google-analytics dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump react-live from 2.3.0 to 2.4.1 in /docs (golangci#2540) Bumps [react-live](https://github.com/philpl/react-live) from 2.3.0 to 2.4.1. - [Release notes](https://github.com/philpl/react-live/releases) - [Commits](FormidableLabs/react-live@v2.3.0...v2.4.1) --- updated-dependencies: - dependency-name: react-live dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-offline from 5.4.0 to 5.6.0 in /docs (golangci#2541) Bumps [gatsby-plugin-offline](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-offline) from 5.4.0 to 5.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-offline/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-offline) --- updated-dependencies: - dependency-name: gatsby-plugin-offline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-sitemap from 5.4.0 to 5.6.0 in /docs (golangci#2542) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 5.4.0 to 5.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump prop-types from 15.8.0 to 15.8.1 in /docs (golangci#2546) Bumps [prop-types](https://github.com/facebook/prop-types) from 15.8.0 to 15.8.1. - [Release notes](https://github.com/facebook/prop-types/releases) - [Changelog](https://github.com/facebook/prop-types/blob/main/CHANGELOG.md) - [Commits](facebook/prop-types@v15.8.0...v15.8.1) --- updated-dependencies: - dependency-name: prop-types dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump polished from 4.1.3 to 4.1.4 in /docs (golangci#2548) Bumps [polished](https://github.com/styled-components/polished) from 4.1.3 to 4.1.4. - [Release notes](https://github.com/styled-components/polished/releases) - [Commits](styled-components/polished@v4.1.3...v4.1.4) --- updated-dependencies: - dependency-name: polished dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump puppeteer from 13.0.1 to 13.1.3 in /docs (golangci#2547) Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.0.1 to 13.1.3. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](puppeteer/puppeteer@v13.0.1...v13.1.3) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2545) Bumps [gatsby-remark-copy-linked-files](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-copy-linked-files) from 5.4.0 to 5.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-copy-linked-files/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-copy-linked-files) --- updated-dependencies: - dependency-name: gatsby-remark-copy-linked-files dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump varnamelen from v0.5.0 to v0.6.0 (golangci#2551) * build(deps): bump simple-get from 3.1.0 to 3.1.1 in /docs (golangci#2552) Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/feross/simple-get/releases) - [Commits](feross/simple-get@v3.1.0...v3.1.1) --- updated-dependencies: - dependency-name: simple-get dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * dev: upgrade to gatsby 4 (golangci#2553) * build(deps): bump simple-get from 4.0.0 to 4.0.1 in /docs (golangci#2554) * build(deps): bump github.com/breml/errchkjson from 0.2.1 to 0.2.2 (golangci#2559) Bumps [github.com/breml/errchkjson](https://github.com/breml/errchkjson) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/breml/errchkjson/releases) - [Changelog](https://github.com/breml/errchkjson/blob/master/.goreleaser.yml) - [Commits](breml/errchkjson@v0.2.1...v0.2.2) --- updated-dependencies: - dependency-name: github.com/breml/errchkjson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/ldez/tagliatelle from 0.3.0 to 0.3.1 (golangci#2557) Bumps [github.com/ldez/tagliatelle](https://github.com/ldez/tagliatelle) from 0.3.0 to 0.3.1. - [Release notes](https://github.com/ldez/tagliatelle/releases) - [Commits](ldez/tagliatelle@v0.3.0...v0.3.1) --- updated-dependencies: - dependency-name: github.com/ldez/tagliatelle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.1 (golangci#2558) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2556) * docs(decorder): fix `disable-init-func-first-check: false` elaboration (golangci#2560) * build(deps): bump ajv from 6.12.2 to 6.12.6 in /.github/peril (golangci#2564) * bump github.com/daixiang0/gci from 0.2.9 to 0.3.0 (golangci#2532) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /docs (golangci#2567) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2571) Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard) from 0.3.16 to 0.3.17. - [Release notes](https://github.com/quasilyte/go-ruleguard/releases) - [Commits](quasilyte/go-ruleguard@dsl/v0.3.16...dsl/v0.3.17) --- updated-dependencies: - dependency-name: github.com/quasilyte/go-ruleguard/dsl dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/breml/bidichk from 0.2.1 to 0.2.2 (golangci#2572) Bumps [github.com/breml/bidichk](https://github.com/breml/bidichk) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/breml/bidichk/releases) - [Changelog](https://github.com/breml/bidichk/blob/master/.goreleaser.yml) - [Commits](breml/bidichk@v0.2.1...v0.2.2) --- updated-dependencies: - dependency-name: github.com/breml/bidichk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/breml/errchkjson from 0.2.2 to 0.2.3 (golangci#2570) Bumps [github.com/breml/errchkjson](https://github.com/breml/errchkjson) from 0.2.2 to 0.2.3. - [Release notes](https://github.com/breml/errchkjson/releases) - [Changelog](https://github.com/breml/errchkjson/blob/master/.goreleaser.yml) - [Commits](breml/errchkjson@v0.2.2...v0.2.3) --- updated-dependencies: - dependency-name: github.com/breml/errchkjson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump github.com/mgechev/revive from v1.1.3 to v1.1.4 (golangci#2576) * gci: fix configuration naming (golangci#2578) * docs: Update documentation and assets (golangci#2579) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump gatsby-source-filesystem from 4.6.0 to 4.7.0 in /docs (golangci#2581) * docs: add link to configuration in the linters list (golangci#2587) * build(deps): bump github.com/ultraware/whitespace from 0.0.4 to 0.0.5 (golangci#2580) * gci: restore defaults for sections (golangci#2589) * bump github.com/daixiang0/gci to HEAD (golangci#2593) * build(deps): bump gatsby-transformer-yaml from 4.6.0 to 4.7.0 in /docs (golangci#2583) Bumps [gatsby-transformer-yaml](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-yaml) from 4.6.0 to 4.7.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-yaml/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-transformer-yaml) --- updated-dependencies: - dependency-name: gatsby-transformer-yaml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-remark-images from 6.6.0 to 6.7.0 in /docs (golangci#2582) Bumps [gatsby-remark-images](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-images) from 6.6.0 to 6.7.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-images/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-images) --- updated-dependencies: - dependency-name: gatsby-remark-images dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-manifest from 4.6.0 to 4.7.0 in /docs (golangci#2586) Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 4.6.0 to 4.7.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-manifest) --- updated-dependencies: - dependency-name: gatsby-plugin-manifest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.1 to 1.5.7 in /docs (golangci#2590) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.7. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.1...1.5.7) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: Update documentation and assets (golangci#2594) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump gatsby-transformer-sharp from 4.6.0 to 4.7.0 in /docs (golangci#2584) * build(deps): bump gatsby-plugin-emotion from 7.6.0 to 7.7.0 in /docs (golangci#2585) * bump github.com/daixiang0/gci to v0.3.1 (golangci#2596) * docs: add "back to the top" button (golangci#2602) * feat: use non-breaking space * feat: add back on top button * docs: add forbidigo example that uses comments (golangci#2599) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.4.0 to 2.5.0 (golangci#2603) * errcheck: add an option to remove default exclusions (golangci#2607) * revive: fix default values (golangci#2611) * bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 (golangci#2614) * docs: improve linters page (golangci#2617) * Default to YAML when config file has no extension (golangci#2618) * build(deps): bump node-fetch in /.github/contributors (golangci#2616) * build(deps): bump mermaid from 8.8.0 to 8.14.0 in /docs (golangci#2620) * build(deps): bump mvdan.cc/gofumpt from 0.2.1 to 0.3.0 (golangci#2622) Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.2.1 to 0.3.0. - [Release notes](https://github.com/mvdan/gofumpt/releases) - [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md) - [Commits](mvdan/gofumpt@v0.2.1...v0.3.0) --- updated-dependencies: - dependency-name: mvdan.cc/gofumpt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.7 to 1.5.10 in /docs (golangci#2625) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.7...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/sivchari/containedctx from 1.0.1 to 1.0.2 (golangci#2623) Bumps [github.com/sivchari/containedctx](https://github.com/sivchari/containedctx) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/sivchari/containedctx/releases) - [Commits](sivchari/containedctx@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: github.com/sivchari/containedctx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/ashanbrown/makezero from 1.1.0 to 1.1.1 (golangci#2621) Bumps [github.com/ashanbrown/makezero](https://github.com/ashanbrown/makezero) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/ashanbrown/makezero/releases) - [Commits](ashanbrown/makezero@v1.1.0...v1.1.1) --- updated-dependencies: - dependency-name: github.com/ashanbrown/makezero dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/securego/gosec/v2 from 2.9.6 to 2.10.0 (golangci#2624) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (golangci#2627) Co-authored-by: Sergey Vilgelm <[email protected]> Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump actions/setup-node from 2 to 3 (golangci#2628) * build(deps): bump gatsby-plugin-sitemap from 5.6.0 to 5.9.0 in /docs (golangci#2633) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 5.6.0 to 5.9.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump prism-react-renderer from 1.2.1 to 1.3.1 in /docs (golangci#2630) Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.2.1 to 1.3.1. - [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases) - [Commits](FormidableLabs/prism-react-renderer@v1.2.1...v1.3.1) --- updated-dependencies: - dependency-name: prism-react-renderer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby from 4.6.2 to 4.9.0 in /docs (golangci#2631) Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 4.6.2 to 4.9.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/compare/[email protected]@4.9.0) --- updated-dependencies: - dependency-name: gatsby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-mdx from 3.6.0 to 3.9.0 in /docs (golangci#2629) * build(deps): bump gatsby-plugin-emotion from 7.7.0 to 7.9.0 in /docs (golangci#2632) * build(deps): bump gatsby-plugin-sharp from 4.6.0 to 4.9.0 in /docs (golangci#2636) Bumps [gatsby-plugin-sharp](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sharp) from 4.6.0 to 4.9.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sharp/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sharp) --- updated-dependencies: - dependency-name: gatsby-plugin-sharp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump @emotion/react from 11.7.1 to 11.8.1 in /docs (golangci#2634) * build(deps): bump gatsby-plugin-manifest from 4.7.0 to 4.9.0 in /docs (golangci#2635) * build(deps): bump github.com/daixiang0/gci from 0.3.1 to 0.3.2 (golangci#2640) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.1 to 3.22.2 (golangci#2641) * build(deps): bump normalize-url from 4.5.0 to 4.5.1 in /docs (golangci#2642) Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1. - [Release notes](https://github.com/sindresorhus/normalize-url/releases) - [Commits](https://github.com/sindresorhus/normalize-url/commits) --- updated-dependencies: - dependency-name: normalize-url dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump actions/checkout from 2 to 3 (golangci#2643) * gofumpt: add module-path setting (golangci#2644) * build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (golangci#2646) Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md) - [Commits](spf13/cobra@v1.3.0...v1.4.0) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * go1.18 support (golangci#2438) * fix: completion for fish-shell * docs: Update documentation and assets (golangci#2655) Co-authored-by: Fernandez Ludovic <[email protected]> * bump varnamelen to v0.6.1 (golangci#2656) * build(deps): bump github.com/hashicorp/go-version from 1.2.1 to 1.4.0 (golangci#2659) Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.2.1 to 1.4.0. - [Release notes](https://github.com/hashicorp/go-version/releases) - [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-version@v1.2.1...v1.4.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-version dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (golangci#2660) * fix: update base images (golangci#2661) * docs: fix GitHub Releases Stats badge link. (golangci#2665) * fix: disable structcheck with go1.18 (golangci#2666) * depguard: reduce requirements (golangci#2672) * build(deps): bump actions/cache from 2.1.7 to 3 (golangci#2674) Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](actions/cache@v2.1.7...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: automatic Go version detection (golangci#2669) * feat: disable unsupported go1.18 govet analyzers * fix: inactivate interfacer with go1.18 * fix: help command (golangci#2681) Co-authored-by: Oleg Butuzov <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fernandez Ludovic <[email protected]> Co-authored-by: sivchari <[email protected]> Co-authored-by: Nate Finch <[email protected]> Co-authored-by: sylvia <[email protected]> Co-authored-by: Sebastien Rosset <[email protected]> Co-authored-by: Maik Schreiber <[email protected]> Co-authored-by: Ryan Leung <[email protected]> Co-authored-by: Benjamin <[email protected]> Co-authored-by: Fernandez Ludovic <[email protected]> Co-authored-by: Kevin Gillette <[email protected]> Co-authored-by: Kirill Danshin <[email protected]> Co-authored-by: Sergey Vilgelm <[email protected]> Co-authored-by: Oleksandr Redko <[email protected]> Co-authored-by: Lucas Bremgartner <[email protected]> Co-authored-by: golangci-releaser <[email protected]> Co-authored-by: Nishanth Shanmugham <[email protected]> Co-authored-by: Rafik Draoui <[email protected]> Co-authored-by: Danil Ovchinnikov <[email protected]> Co-authored-by: mook <[email protected]> Co-authored-by: Alexander Melentyev <[email protected]> Co-authored-by: Tim Kral <[email protected]> Co-authored-by: Miles Delahunty <[email protected]> Co-authored-by: Kyungmin Bae <[email protected]> Co-authored-by: Denis Limarev <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: Florian Bosdorff <[email protected]> Co-authored-by: Donal Byrne <[email protected]> Co-authored-by: Iskander (Alex) Sharipov <[email protected]> Co-authored-by: Simon Sawert <[email protected]> Co-authored-by: Andrew Shannon Brown <[email protected]> Co-authored-by: Hiroyuki Yagihashi <[email protected]> Co-authored-by: leonklingele <[email protected]> Co-authored-by: Denis Limarev <[email protected]> Co-authored-by: Ville Skyttä <[email protected]> Co-authored-by: ngehrsitz <[email protected]> Co-authored-by: Chris Suszynski <[email protected]> Co-authored-by: Craig Furman <[email protected]> Co-authored-by: R. Franco <[email protected]> Co-authored-by: John Reese <[email protected]> Co-authored-by: Dylan Arbour <[email protected]> Co-authored-by: Demitri Tzitzon <[email protected]>
go1.18 is released but the core tooling (
golang.org/x/tools
) is not ready.The Go version should be defined in the configuration:
If you set the version to go1.18, the following linters will be inactive:
bodyclose
contextcheck
gosimple
nilerr
noctx
rowserrcheck
sqlclosecheck
staticcheck
stylecheck
tparallel
unparam
unused
wastedassign
Notes:
nilness
andunusedwrite
) don't work with generics and must be disabled by handhugeParam
,rangeValCopy
,typeDefFirst
) don't work with generics and must be disabled by handAlso, I can't guarantee that there are no hidden problems, I tested golangci-lint on a codebase containing different use of generics but this is not exhaustive.
Take a look at #2649 for details.