-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add errchkjson linter #2362
Add errchkjson linter #2362
Conversation
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
05983cb
to
10249ca
Compare
@ldez I applied your review findings, fixed the gofmt issue and I rebased to master. The pipeline is now green. |
Can you revert your last commit (85900c3)? It's not related to the CI problem of your PR. |
85900c3
to
0a6c8d1
Compare
Done |
All review findings are resolved, all pipelines are green. Is there anything missing? |
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
* 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] <support@github.com> 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 <ldez@users.noreply.github.com> * build(deps): bump github.com/mattn/go-colorable from 0.1.8 to 0.1.9 (golangci#2252) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * 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/gatsby-plugin-sitemap@4.10.0/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] <support@github.com> 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] <support@github.com> 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 <ldez@users.noreply.github.com> * build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 (golangci#2041) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * 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 <lfernandez.dev@gmail.com> * 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/gatsby-plugin-sitemap@5.0.0/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-sitemap@5.0.0/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] <support@github.com> 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 <lfernandez.dev@gmail.com> * 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 <ldez@users.noreply.github.com> * 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 <ldez@users.noreply.github.com> * 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] <support@github.com> 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 <ldez@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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 <ldez@users.noreply.github.com> * 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 <ldez@users.noreply.github.com> * 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] <support@github.com> 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 <ldez@users.noreply.github.com> * build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (golangci#2517) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * 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 <ldez@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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/gatsby-plugin-google-analytics@4.6.0/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] <support@github.com> 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] <support@github.com> 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/gatsby-plugin-offline@5.6.0/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] <support@github.com> 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/gatsby-plugin-sitemap@5.6.0/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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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/gatsby-remark-copy-linked-files@5.6.0/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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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 <ldez@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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 <ldez@users.noreply.github.com> * 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/gatsby-transformer-yaml@4.7.0/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] <support@github.com> 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/gatsby-remark-images@6.7.0/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] <support@github.com> 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/gatsby-plugin-manifest@4.7.0/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] <support@github.com> 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: Update documentation and assets (golangci#2594) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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 <ldez@users.noreply.github.com> * build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (golangci#2627) Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com> Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * 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/gatsby-plugin-sitemap@5.9.0/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] <support@github.com> 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] <support@github.com> 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/gatsby@4.6.2...gatsby@4.9.0) --- updated-dependencies: - dependency-name: gatsby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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/gatsby-plugin-sharp@4.9.0/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] <support@github.com> 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] <support@github.com> 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] <support@github.com> 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 <ldez@users.noreply.github.com> * 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] <support@github.com> 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] <support@github.com> 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 <butuzov@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> Co-authored-by: sivchari <shibuuuu5@gmail.com> Co-authored-by: Nate Finch <natefinch@github.com> Co-authored-by: sylvia <1227977886@qq.com> Co-authored-by: Sebastien Rosset <serosset@cisco.com> Co-authored-by: Maik Schreiber <blizzy@blizzy.de> Co-authored-by: Ryan Leung <rleungx@gmail.com> Co-authored-by: Benjamin <30739825+ahrtr@users.noreply.github.com> Co-authored-by: Fernandez Ludovic <lfernandez.dev@gmail.com> Co-authored-by: Kevin Gillette <extemporalgenome@gmail.com> Co-authored-by: Kirill Danshin <kirill@danshin.pro> Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com> Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com> Co-authored-by: Lucas Bremgartner <breml@users.noreply.github.com> Co-authored-by: golangci-releaser <65486276+golangci-releaser@users.noreply.github.com> Co-authored-by: Nishanth Shanmugham <nishanth.gerrard@gmail.com> Co-authored-by: Rafik Draoui <rafik@rafik.ca> Co-authored-by: Danil Ovchinnikov <dan.dan.d@yandex.ru> Co-authored-by: mook <mookjpy@gmail.com> Co-authored-by: Alexander Melentyev <55826637+alexander-melentyev@users.noreply.github.com> Co-authored-by: Tim Kral <timkral@users.noreply.github.com> Co-authored-by: Miles Delahunty <miles.delahunty@gmail.com> Co-authored-by: Kyungmin Bae <williambae1@gmail.com> Co-authored-by: Denis Limarev <denislimarev@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Florian Bosdorff <26360670+bosix@users.noreply.github.com> Co-authored-by: Donal Byrne <byrnedo@tcd.ie> Co-authored-by: Iskander (Alex) Sharipov <quasilyte@gmail.com> Co-authored-by: Simon Sawert <simon@sawert.se> Co-authored-by: Andrew Shannon Brown <ashanbrown@users.noreply.github.com> Co-authored-by: Hiroyuki Yagihashi <yo@yagipy.me> Co-authored-by: leonklingele <git@leonklingele.de> Co-authored-by: Denis Limarev <d.limarev@corp.mail.ru> Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> Co-authored-by: ngehrsitz <45375059+ngehrsitz@users.noreply.github.com> Co-authored-by: Chris Suszynski <krzysztof.suszynski@gmail.com> Co-authored-by: Craig Furman <craig.furman89@gmail.com> Co-authored-by: R. Franco <6237457+donotnoot@users.noreply.github.com> Co-authored-by: John Reese <john@reese.dev> Co-authored-by: Dylan Arbour <arbourd@users.noreply.github.com> Co-authored-by: Demitri Tzitzon <dtzitzon@anduril.com>
After the discussion on #2349, in particular in comment #2349 (comment), I decided to submit an alternative PR for the inclusion of errchkjson.
In this implementation there is by default no overlap with other linters (in particular errcheck and staticcheck). By setting the respective configuration for errchkjson, the user can opt-in for the check for "error free json encoding". If the user decides to do so, it is recommended to exclude some functions from being checked by errcheck. The necessary instructions are provided to the user as comment in
.golangci.example.yml
.closes #2349