-
-
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
feat: add exhaustruct
linter
#2667
Conversation
Hey, thank you for opening your first Pull Request ! |
Hello @xobotyi, why didn't you do a PR on exhaustivestruct instead of creating a copy? I think that you will have a license issue. |
@ldez pr is there for like.. half a year now. mbilski/exhaustivestruct#17 Linter name and codebases are different (codebase, actually, is complete rewrite) why there should be a licensing issues? Not even saying that |
The MIT license is clear:
|
@ldez as said - the code is completely mine and have nothing in common (except purpose and usage of analyzer) with other linter - it can't be treated as "modification". |
My login is LDEZ |
@ldez oh that's why siggestion didn't worked out😂 |
also, you don't need to ping me on every message. |
Can you rebase your PR? Thanks. |
Done |
You don't need to squash, the PR is squashed during the merge. |
I dont squash, it is ammend (habit from gerrit - review tool that im using at work). |
The conclusion is the same: all the previous commits have been squashed into one commit. this is not a good practice on GitHub because we lost the history of changes. Otherwise, I recommend using https://git-scm.com/docs/git-push I also recommend not using the branch https://blog.jasonmeridth.com/posts/do-not-issue-pull-requests-from-your-master-branch/ |
This linter can be called a successor of `exhaustivestruct`, and: - it is at least **2.5+ times faster**, due to better algorithm; - can receive `include` and/or `exclude` patterns; - expects received patterns to be RegExp, therefore this package is not api-compatible with `exhaustivestruct`. Also: deprecate `exhaustivestruct` linter
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
* fix: help command (golangci#2681) * docs: Update documentation and assets (golangci#2682) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * bump varnamelen to v0.6.2 (golangci#2684) * build(deps): bump minimist from 1.2.5 to 1.2.6 in /tools (golangci#2686) * build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/peril (golangci#2687) * build(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (golangci#2688) * build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/contributors (golangci#2685) * build(deps): bump mvdan.cc/gofumpt from 0.3.0 to 0.3.1 (golangci#2694) Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.3.0 to 0.3.1. - [Release notes](https://github.com/mvdan/gofumpt/releases) - [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md) - [Commits](mvdan/gofumpt@v0.3.0...v0.3.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/quasilyte/go-ruleguard/dsl (golangci#2691) Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard) from 0.3.17 to 0.3.19. - [Release notes](https://github.com/quasilyte/go-ruleguard/releases) - [Commits](quasilyte/go-ruleguard@dsl/v0.3.17...dsl/v0.3.19) --- 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/errchkjson from 0.2.3 to 0.3.0 (golangci#2695) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (golangci#2696) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 Bumps [github.com/tomarrell/wrapcheck/v2](https://github.com/tomarrell/wrapcheck) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/tomarrell/wrapcheck/releases) - [Commits](tomarrell/wrapcheck@v2.5.0...v2.6.0) --- updated-dependencies: - dependency-name: github.com/tomarrell/wrapcheck/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * add new option Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/breml/bidichk from 0.2.2 to 0.2.3 (golangci#2698) * build(deps): bump peter-evans/create-pull-request from 3 to 4 (golangci#2699) Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@v3...v4) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request 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> * Add execinquery linter (golangci#2677) * bump varnamelen to v0.8.0 (golangci#2703) * build(deps): bump github.com/fzipp/gocyclo from 0.4.0 to 0.5.0 (golangci#2693) Bumps [github.com/fzipp/gocyclo](https://github.com/fzipp/gocyclo) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/fzipp/gocyclo/releases) - [Changelog](https://github.com/fzipp/gocyclo/blob/main/CHANGELOG.md) - [Commits](fzipp/gocyclo@v0.4.0...v0.5.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> * bump deadcode to HEAD (golangci#2704) * build(deps): bump ansi-regex from 3.0.0 to 3.0.1 in /.github/peril (golangci#2700) * build(deps): bump github.com/securego/gosec/v2 from 2.10.0 to 2.11.0 (golangci#2697) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * docs: update FAQ page. (golangci#2705) * build(deps): bump gatsby-remark-images from 6.7.0 to 6.11.1 in /docs (golangci#2713) * build(deps): bump gatsby-transformer-sharp from 4.7.0 to 4.11.0 in /docs (golangci#2714) * build(deps): bump gatsby-plugin-catch-links in /docs (golangci#2715) * build(deps): bump gatsby-plugin-offline from 5.6.0 to 5.11.1 in /docs (golangci#2716) * build(deps): bump @emotion/styled from 11.6.0 to 11.8.1 in /docs (golangci#2717) * build(deps): bump gatsby-source-filesystem from 4.7.0 to 4.11.1 in /docs (golangci#2718) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2720) * build(deps): bump url-join from 4.0.1 to 5.0.0 in /docs (golangci#2721) * build(deps): bump gatsby from 4.9.0 to 4.11.1 in /docs (golangci#2723) Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 4.9.0 to 4.11.1. - [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.9.0...gatsby@4.11.1) --- 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-remark-autolink-headers in /docs (golangci#2722) Bumps [gatsby-remark-autolink-headers](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-autolink-headers) from 5.6.0 to 5.11.1. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-autolink-headers/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-autolink-headers@5.11.1/packages/gatsby-remark-autolink-headers) --- updated-dependencies: - dependency-name: gatsby-remark-autolink-headers 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-transformer-yaml from 4.7.0 to 4.11.0 in /docs (golangci#2719) Bumps [gatsby-transformer-yaml](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-yaml) from 4.7.0 to 4.11.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.11.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-plugin-emotion from 7.9.0 to 7.11.0 in /docs (golangci#2725) Bumps [gatsby-plugin-emotion](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-emotion) from 7.9.0 to 7.11.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-emotion/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-emotion@7.11.0/packages/gatsby-plugin-emotion) --- updated-dependencies: - dependency-name: gatsby-plugin-emotion 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.9.0 to 3.11.1 in /docs (golangci#2726) * build(deps): bump gatsby-plugin-react-helmet in /docs (golangci#2728) * build(deps): bump gatsby-plugin-canonical-urls in /docs (golangci#2729) * build(deps): bump gatsby-remark-responsive-iframe in /docs (golangci#2730) * build(deps): bump gatsby-plugin-sharp from 4.9.0 to 4.11.1 in /docs (golangci#2724) * build(deps): bump postcss from 8.4.6 to 8.4.12 in /docs (golangci#2731) * build(deps): bump gatsby-plugin-manifest from 4.9.0 to 4.11.1 in /docs (golangci#2732) Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 4.9.0 to 4.11.1. - [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.11.1/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 gatsby-transformer-remark in /docs (golangci#2733) * build(deps): bump puppeteer from 13.1.3 to 13.5.2 in /docs (golangci#2734) * build(deps): bump gatsby-plugin-sitemap from 5.9.0 to 5.11.1 in /docs (golangci#2735) * build(deps): bump @emotion/react from 11.8.1 to 11.8.2 in /docs (golangci#2737) Bumps [@emotion/react](https://github.com/emotion-js/emotion) from 11.8.1 to 11.8.2. - [Release notes](https://github.com/emotion-js/emotion/releases) - [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md) - [Commits](https://github.com/emotion-js/emotion/compare/@emotion/react@11.8.1...@emotion/react@11.8.2) --- updated-dependencies: - dependency-name: "@emotion/react" 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 gatsby-plugin-google-analytics in /docs (golangci#2736) Bumps [gatsby-plugin-google-analytics](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-google-analytics) from 4.6.0 to 4.11.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.11.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 honnef.co/go/tools from 0.2.2 to 0.3.0 (golangci#2738) * dev: remove some TODO (golangci#2743) * chore: use go1.18 to test the previous version of golangci-lint * chore: update gomnd configuration * build(deps): bump github.com/sivchari/tenv from 1.4.7 to 1.5.0 (golangci#2739) * build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (golangci#2741) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.3 (golangci#2740) * staticcheck: re-enable for go1.18 (golangci#2746) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * feat(log): enable override coloring based on CLICOLOR and CLICOLOR_FORCE (golangci#2657) * dev: support build tags about go version in linter tests (golangci#2744) * build(deps): bump react and react-dom in /docs (golangci#2727) * bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (golangci#2742) * build(deps): bump moment from 2.29.1 to 2.29.2 in /docs (golangci#2754) Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2. - [Release notes](https://github.com/moment/moment/releases) - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md) - [Commits](moment/moment@2.29.1...2.29.2) --- updated-dependencies: - dependency-name: moment 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/Antonboom/errname from 0.1.5 to 0.1.6 (golangci#2758) Bumps [github.com/Antonboom/errname](https://github.com/Antonboom/errname) from 0.1.5 to 0.1.6. - [Release notes](https://github.com/Antonboom/errname/releases) - [Commits](Antonboom/errname@v0.1.5...v0.1.6) --- updated-dependencies: - dependency-name: github.com/Antonboom/errname 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/Antonboom/nilnil from 0.1.0 to 0.1.1 (golangci#2757) Bumps [github.com/Antonboom/nilnil](https://github.com/Antonboom/nilnil) from 0.1.0 to 0.1.1. - [Release notes](https://github.com/Antonboom/nilnil/releases) - [Commits](Antonboom/nilnil@v0.1.0...v0.1.1) --- updated-dependencies: - dependency-name: github.com/Antonboom/nilnil 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/fzipp/gocyclo from 0.5.0 to 0.5.1 (golangci#2756) Bumps [github.com/fzipp/gocyclo](https://github.com/fzipp/gocyclo) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/fzipp/gocyclo/releases) - [Changelog](https://github.com/fzipp/gocyclo/blob/main/CHANGELOG.md) - [Commits](fzipp/gocyclo@v0.5.0...v0.5.1) --- updated-dependencies: - dependency-name: github.com/fzipp/gocyclo 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/BurntSushi/toml from 1.0.0 to 1.1.0 (golangci#2755) Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/BurntSushi/toml/releases) - [Commits](BurntSushi/toml@v1.0.0...v1.1.0) --- updated-dependencies: - dependency-name: github.com/BurntSushi/toml 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/nishanths/predeclared from 0.2.1 to 0.2.2 (golangci#2761) Bumps [github.com/nishanths/predeclared](https://github.com/nishanths/predeclared) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/nishanths/predeclared/releases) - [Commits](nishanths/predeclared@v0.2.1...v0.2.2) --- updated-dependencies: - dependency-name: github.com/nishanths/predeclared 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/mgechev/revive from 1.2.0 to 1.2.1 (golangci#2760) Bumps [github.com/mgechev/revive](https://github.com/mgechev/revive) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/mgechev/revive/releases) - [Changelog](https://github.com/mgechev/revive/blob/master/.goreleaser.yml) - [Commits](mgechev/revive@v1.2.0...v1.2.1) --- updated-dependencies: - dependency-name: github.com/mgechev/revive 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/go-critic/go-critic from 0.6.2 to 0.6.3 (golangci#2759) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump moment from 2.25.3 to 2.29.2 in /.github/contributors (golangci#2753) * build(deps): bump actions/setup-go from 2 to 3 (golangci#2763) Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v2...v3) --- updated-dependencies: - dependency-name: actions/setup-go 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 github.com/spf13/viper from 1.10.1 to 1.11.0 (golangci#2770) Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.1 to 1.11.0. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](spf13/viper@v1.10.1...v1.11.0) --- updated-dependencies: - dependency-name: github.com/spf13/viper 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> * Add nonamedreturns linter (golangci#2701) * unused: fix false-positive (golangci#2772) * Add nosprintfhostport linter (golangci#2749) * nonamedreturns: bump from 1.0.0 to 1.0.1 (golangci#2776) * build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.1 (golangci#2780) * build(deps): bump github.com/stbenjam/no-sprintf-host-port (golangci#2781) Bumps [github.com/stbenjam/no-sprintf-host-port](https://github.com/stbenjam/no-sprintf-host-port) from 0.1.0 to 0.1.1. - [Release notes](https://github.com/stbenjam/no-sprintf-host-port/releases) - [Commits](stbenjam/no-sprintf-host-port@v0.1.0...v0.1.1) --- updated-dependencies: - dependency-name: github.com/stbenjam/no-sprintf-host-port 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/codeql-action from 1 to 2 (golangci#2782) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@v1...v2) --- updated-dependencies: - dependency-name: github/codeql-action 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: add `exhaustruct` linter (golangci#2667) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * promlinter: bump to v0.2.0 (golangci#2789) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.0 to 2.6.1 (golangci#2791) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4 (golangci#2792) * build(deps): bump github.com/ldez/gomoddirectives from 0.2.2 to 0.2.3 (golangci#2793) * build(deps): bump puppeteer from 13.5.2 to 13.7.0 in /docs (golangci#2794) * build(deps): bump gatsby-plugin-sharp from 4.11.1 to 4.13.0 in /docs (golangci#2795) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2797) Bumps [gatsby-remark-copy-linked-files](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-copy-linked-files) from 5.11.0 to 5.13.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.13.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> * build(deps): bump gatsby-source-filesystem in /docs (golangci#2800) Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 4.11.1 to 4.13.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@4.13.0/packages/gatsby-source-filesystem) --- updated-dependencies: - dependency-name: gatsby-source-filesystem 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-autolink-headers in /docs (golangci#2801) * build(deps): bump gatsby from 4.11.1 to 4.13.1 in /docs (golangci#2796) * build(deps): bump gatsby-transformer-sharp in /docs (golangci#2798) * build(deps): bump gatsby-plugin-sitemap from 5.11.1 to 5.13.0 in /docs (golangci#2802) * build(deps): bump gatsby-remark-responsive-iframe in /docs (golangci#2803) * build(deps): bump gatsby-transformer-remark in /docs (golangci#2804) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2805) * build(deps): bump gatsby-plugin-netlify from 4.1.0 to 4.3.1 in /docs (golangci#2806) * build(deps): bump @emotion/react from 11.8.2 to 11.9.0 in /docs (golangci#2807) * build(deps): bump react-live from 3.0.0 to 3.1.0 in /docs (golangci#2808) * build(deps): bump gatsby-plugin-react-helmet in /docs (golangci#2811) * build(deps): bump gatsby-plugin-offline from 5.11.1 to 5.13.0 in /docs (golangci#2809) Bumps [gatsby-plugin-offline](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-offline) from 5.11.1 to 5.13.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.13.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-transformer-yaml from 4.11.0 to 4.13.0 in /docs (golangci#2812) * build(deps): bump gatsby-remark-images from 6.11.1 to 6.13.0 in /docs (golangci#2813) * build(deps): bump gatsby-plugin-manifest from 4.11.1 to 4.13.0 in /docs (golangci#2814) * build(deps): bump polished from 4.1.4 to 4.2.2 in /docs (golangci#2810) * build(deps): bump gatsby-plugin-mdx from 3.11.1 to 3.13.0 in /docs (golangci#2815) * build(deps): bump gatsby-plugin-canonical-urls in /docs (golangci#2816) * build(deps): bump gatsby-plugin-emotion from 7.11.0 to 7.13.0 in /docs (golangci#2817) * build(deps): bump react-dom from 18.0.0 to 18.1.0 in /docs (golangci#2821) * build(deps): bump postcss from 8.4.12 to 8.4.13 in /docs (golangci#2819) * build(deps): bump gatsby-plugin-catch-links in /docs (golangci#2818) * build(deps): bump react from 18.0.0 to 18.1.0 in /docs (golangci#2822) * build(deps): bump gatsby-plugin-robots-txt from 1.7.0 to 1.7.1 in /docs (golangci#2820) * docs: update "Shell Completion" instruction on Linux (golangci#2829) * docs: Update documentation and assets (golangci#2833) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump docker/setup-buildx-action from 1 to 2 (golangci#2836) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](docker/setup-buildx-action@v1...v2) --- updated-dependencies: - dependency-name: docker/setup-buildx-action 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 docker/build-push-action from 2 to 3 (golangci#2838) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v2...v3) --- updated-dependencies: - dependency-name: docker/build-push-action 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 docker/setup-qemu-action from 1 to 2 (golangci#2837) * docs: add missing linters (golangci#2841) * fix: fix typo for errchkjson (golangci#2842) * bump github.com/lufeee/execinquery from v1.0.0 to v1.2.0 (golangci#2845) * docs: Update documentation and assets (golangci#2846) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * docs: add containedctx linter to the list of available linters (golangci#2850) * bump github.com/lufeee/execinquery from v1.2.0 to v1.2.1 (golangci#2853) * docs: rename .golangci.example.yml to .golangci.reference.yml (golangci#2857) * bump github.com/polyfloyd/go-errorlint to v1.0.0 (golangci#2855) * thelper: allow to disable one option (golangci#2854) * build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (golangci#2858) Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v3.1.0...v3.2.0) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action 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> * docs: Update documentation and assets (golangci#2860) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * chore: spelling and grammar fixes (golangci#2865) * docs: fix typo (golangci#2867) * build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (golangci#2873) * build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (golangci#2872) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (golangci#2874) * build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (golangci#2871) Bumps [github.com/kisielk/errcheck](https://github.com/kisielk/errcheck) from 1.6.0 to 1.6.1. - [Release notes](https://github.com/kisielk/errcheck/releases) - [Commits](kisielk/errcheck@v1.6.0...v1.6.1) --- updated-dependencies: - dependency-name: github.com/kisielk/errcheck 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 golang.org/x/tools to HEAD (golangci#2875) * bump golang.org/x/tools to HEAD * fix: adapt linters to the new validation system. * build(deps): bump honnef.co/go/tools from 0.3.1 to 0.3.2 (golangci#2870) * build(deps): bump goreleaser/goreleaser-action from 2 to 3 (golangci#2876) * fix: codeQL scanning (golangci#2882) * build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (golangci#2888) * build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (golangci#2889) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * docs(linters): add defaults (golangci#2891) * docs(govet): add settings for `shadow` and `unusedresult` (golangci#2890) docs(govet): add missing settings for `shadow` and `unusedresult` * docs(thelper): add `fuzz` config and description (golangci#2887) docs(thelper): add missing `fuzz` config and description * docs(gosec): add configs for all existing rules (golangci#2886) docs: gosec: add configs for all existing rules * docs(depguard): add `ignore-file-rules` (golangci#2884) * docs: linters-settings: depguard: add missing `ignore-file-rules` * Add an example without ! * docs(gocritic): add `enable` and `disable` ruleguard settings (golangci#2885) * docs: ruleguard: add missing `enable` and `disable` settings * Don't use go-critic groups and tags * gci: fix issues and re-enable autofix (golangci#2892) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump sharp from 0.30.3 to 0.30.6 in /docs (golangci#2900) Bumps [sharp](https://github.com/lovell/sharp) from 0.30.3 to 0.30.6. - [Release notes](https://github.com/lovell/sharp/releases) - [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md) - [Commits](lovell/sharp@v0.30.3...v0.30.6) --- updated-dependencies: - dependency-name: sharp 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 gatsby-remark-autolink-headers from 5.13.0 to 5.15.1 in /docs (golangci#2897) build(deps): bump gatsby-remark-autolink-headers in /docs Bumps [gatsby-remark-autolink-headers](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-autolink-headers) from 5.13.0 to 5.15.1. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-remark-autolink-headers@5.15.1/packages/gatsby-remark-autolink-headers/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-autolink-headers@5.15.1/packages/gatsby-remark-autolink-headers) --- updated-dependencies: - dependency-name: gatsby-remark-autolink-headers 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.3.1 to 1.3.3 in /docs (golangci#2896) Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.3.1 to 1.3.3. - [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases) - [Commits](FormidableLabs/prism-react-renderer@v1.3.1...v1.3.3) --- updated-dependencies: - dependency-name: prism-react-renderer 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 gatsby from 4.13.1 to 4.15.2 in /docs (golangci#2895) Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 4.13.1 to 4.15.2. - [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.13.1...gatsby@4.15.2) --- 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-remark-images from 6.13.0 to 6.15.1 in /docs (golangci#2898) * build(deps): bump gatsby-plugin-manifest from 4.13.0 to 4.15.1 in /docs (golangci#2899) Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 4.13.0 to 4.15.1. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-plugin-manifest@4.15.1/packages/gatsby-plugin-manifest/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@4.15.1/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 gatsby-plugin-mdx from 3.13.0 to 3.15.2 in /docs (golangci#2904) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * dev: preallocate some slices and maps (golangci#2902) * build(deps): bump devcert from 1.2.0 to 1.2.1 in /docs (golangci#2905) * build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (golangci#2906) Bumps [github.com/nishanths/exhaustive](https://github.com/nishanths/exhaustive) from 0.7.11 to 0.8.1. - [Release notes](https://github.com/nishanths/exhaustive/releases) - [Commits](nishanths/exhaustive@v0.7.11...v0.8.1) --- updated-dependencies: - dependency-name: github.com/nishanths/exhaustive 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/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (golangci#2907) * build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 Bumps [github.com/kunwardeep/paralleltest](https://github.com/kunwardeep/paralleltest) from 1.0.3 to 1.0.4. - [Release notes](https://github.com/kunwardeep/paralleltest/releases) - [Commits](kunwardeep/paralleltest@v1.0.3...v1.0.4) --- updated-dependencies: - dependency-name: github.com/kunwardeep/paralleltest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix: linter Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 (golangci#2908) Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.22.4 to 3.22.5. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](shirou/gopsutil@v3.22.4...v3.22.5) --- 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> * docs: have a clear explanation about the staticcheck integration. (golangci#2894) docs: have a clear state about staticcheck * docs: add thanks page (golangci#2893) * docs(gomnd): fix typo (golangci#2909) * gosec: allow `global` config (golangci#2880) * build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (golangci#2917) * build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (golangci#2916) * build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (golangci#2918) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * config: spread go version on linter's configurations (golangci#2913) * depguard: adjust phrasing (golangci#2921) * build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (golangci#2929) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (golangci#2925) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/sivchari/tenv from 1.5.0 to 1.6.0 (golangci#2927) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.1 to 2.6.2 (golangci#2928) Bumps [github.com/tomarrell/wrapcheck/v2](https://github.com/tomarrell/wrapcheck) from 2.6.1 to 2.6.2. - [Release notes](https://github.com/tomarrell/wrapcheck/releases) - [Commits](tomarrell/wrapcheck@v2.6.1...v2.6.2) --- updated-dependencies: - dependency-name: github.com/tomarrell/wrapcheck/v2 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/fzipp/gocyclo from 0.5.1 to 0.6.0 (golangci#2926) * chore: remove reviewers from dependabot configuration (golangci#2932) * build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (golangci#2933) * build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (golangci#2934) * build(deps): bump react-live from 3.1.0 to 3.1.1 in /docs (golangci#2935) * build(deps): bump gatsby-plugin-emotion from 7.13.0 to 7.17.0 in /docs (golangci#2936) * build(deps): bump gatsby-plugin-react-helmet from 5.13.0 to 5.17.0 in /docs (golangci#2939) * build(deps): bump gatsby-plugin-offline from 5.13.0 to 5.17.0 in /docs (golangci#2937) * build(deps): bump gatsby-plugin-catch-links from 4.13.0 to 4.17.0 in /docs (golangci#2938) * build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (golangci#2944) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (golangci#2942) * build(deps): bump gitlab.com/bosi/decorder from 0.2.1 to 0.2.2 (golangci#2943) * build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (golangci#2945) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * add nosnakecase lint (golangci#2828) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump postcss from 8.4.13 to 8.4.14 in /docs (golangci#2949) * build(deps): bump gatsby-remark-copy-linked-files from 5.13.0 to 5.17.0 in /docs (golangci#2950) * build(deps): bump gatsby-plugin-sharp from 4.13.0 to 4.17.0 in /docs (golangci#2951) * build(deps): bump gatsby-plugin-google-analytics from 4.13.0 to 4.17.0 in /docs (golangci#2952) * build(deps): bump react from 18.1.0 to 18.2.0 in /docs (golangci#2953) Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.1.0 to 18.2.0. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v18.2.0/packages/react) --- updated-dependencies: - dependency-name: react 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/hashicorp/go-version from 1.5.0 to 1.6.0 (golangci#2958) Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.5.0 to 1.6.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.5.0...v1.6.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/shirou/gopsutil/v3 from 3.22.5 to 3.22.6 (golangci#2959) Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.22.5 to 3.22.6. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](shirou/gopsutil@v3.22.5...v3.22.6) --- 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/stretchr/testify from 1.7.5 to 1.8.0 (golangci#2957) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.7.5...v1.8.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify 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 parse-url from 6.0.0 to 6.0.2 in /docs (golangci#2961) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/uudashr/gocognit from 1.0.5 to 1.0.6 (golangci#2962) * build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (golangci#2965) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump moment from 2.29.2 to 2.29.4 in /docs (golangci#2967) * build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (golangci#2966) * dev: change err to nil (golangci#2971) * build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (golangci#2973) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * dev: remove kortschak from generated team (golangci#2974) * staticcheck: fix generics (golangci#2976) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * dev: use directives instead of comments for tests (golangci#2978) * build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (golangci#2979) Bumps [github.com/daixiang0/gci](https://github.com/daixiang0/gci) from 0.4.1 to 0.4.2. - [Release notes](https://github.com/daixiang0/gci/releases) - [Commits](daixiang0/gci@v0.4.1...v0.4.2) --- updated-dependencies: - dependency-name: github.com/daixiang0/gci 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> * Add linter `asasalint` to lint pass []any as any (golangci#2968) * docs: Update documentation and assets (golangci#2981) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * gci: remove the use of stdin (golangci#2984) Co-authored-by: Tom Moulard <tom.moulard@traefik.io> * build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (golangci#2988) * gci: fix options display (golangci#2989) * fix: generics (golangci#2991) * build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (golangci#2992) * fix: disable structcheck for go >= 1.18 (golangci#2994) * Revert 'fix: generics (golangci#2991)' (golangci#2995) * docs: Update documentation and assets (golangci#2996) Co-authored-by: ldez <ldez@users.noreply.github.com> * build(deps): bump terser from 5.12.0 to 5.14.2 in /docs (golangci#2998) * revive: ignore slow rules (golangci#2999) * docs: Update documentation and assets (golangci#3000) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * feat: remove some go1.18 limitations (golangci#3001) * fix: restore some linters - govet(nilness,unusedwrite) - bodyclose - contextcheck - nilerr - noctx - tparallel * fix: remove structcheck from the default linters. * build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (golangci#3003) * upgrade asasalint update default builtin * Update .golangci.reference.yml Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com> Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com> * dev: clean commands (golangci#3007) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (golangci#3010) Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.1 to 1.9.0. - [Release notes](https://github.com/sirupsen/logrus/releases) - [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md) - [Commits](sirupsen/logrus@v1.8.1...v1.9.0) --- updated-dependencies: - dependency-name: github.com/sirupsen/logrus 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/BurntSushi/toml from 1.1.0 to 1.2.0 (golangci#3009) Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml) from 1.1.0 to 1.2.0. - [Release notes](https://github.com/BurntSushi/toml/releases) - [Commits](BurntSushi/toml@v1.1.0...v1.2.0) --- updated-dependencies: - dependency-name: github.com/BurntSushi/toml 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/sivchari/nosnakecase from 1.5.0 to 1.7.0 (golangci#3008) Bumps [github.com/sivchari/nosnakecase](https://github.com/sivchari/nosnakecase) from 1.5.0 to 1.7.0. - [Release notes](https://github.com/sivchari/nosnakecase/releases) - [Commits](sivchari/nosnakecase@v1.5.0...v1.7.0) --- updated-dependencies: - dependency-name: github.com/sivchari/nosnakecase 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> * dev: change format like function without args (golangci#3012) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * doc: add Bytebase info the trusted-by page (golangci#3013) * gci: fix panic with invalid configuration option (golangci#3019) * cgo: fix linters ignoring Cgo files (golangci#3025) * docs: fix broken license link (golangci#3028) * build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (golangci#3029) * build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (golangci#3031) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (golangci#3033) * build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (golangci#3030) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (golangci#3032) * docs: Update documentation and assets (golangci#3036) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * nolint: drop allow-leading-space option and add "nolint:all" (golangci#3002) * ifshort: deprecate linter (golangci#3034) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * dev: syntax highlight for all dockerfiles (golangci#3038) * docs(install): remove outdated info on source install (golangci#3039) * build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (golangci#3035) * build(deps): bump gatsby-transformer-sharp from 4.13.0 to 4.19.0 in /docs (golangci#3040) * build(deps): bump gatsby-plugin-netlify from 4.3.1 to 5.0.1 in /docs (golangci#3041) * build(deps): bump gatsby-plugin-sharp from 4.17.0 to 4.19.0 in /docs (golangci#3044) * build(deps): bump gatsby-plugin-react-helmet from 5.17.0 to 5.19.0 in /docs (golangci#3042) * build(deps): bump gatsby-plugin-emotion from 7.17.0 to 7.19.0 in /docs (golangci#3047) * build(deps): bump gatsby-plugin-offline from 5.17.0 to 5.19.0 in /docs (golangci#3043) * build(deps): bump gatsby-transformer-yaml from 4.13.0 to 4.19.0 in /docs (golangci#3045) * build(deps): bump gatsby from 4.15.2 to 4.19.2 in /docs (golangci#3046) * gci: add missing `custom-order` setting (golangci#3052) * feat: add usestdlibvars (golangci#3016) * contextcheck: disable linter (golangci#3050) * feat: go1.19 support (golangci#3037) * dev: remove stable from actions/setup-go (golangci#3055) Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com> * build(deps): bump revgrep to HEAD (golangci#3054) * build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (golangci#3059) * build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (golangci#3058) Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com> Co-authored-by: golangci-releaser <65486276+golangci-releaser@users.noreply.github.com> Co-authored-by: Maik Schreiber <blizzy@blizzy.de> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lufe <contact@lufe.jp> Co-authored-by: Milas Bowman <milasb@gmail.com> Co-authored-by: ttys3 <41882455+ttys3@users.noreply.github.com> Co-authored-by: Aleksey Bakin <alexey.bakin@gmail.com> Co-authored-by: Christian Mehlmauer <105281+firefart@users.noreply.github.com> Co-authored-by: Stephen Benjamin <stephen@bitbin.de> Co-authored-by: Anton Zinovyev <xog3@yandex.ru> Co-authored-by: Yuki Okushi <jtitor@2k36.org> Co-authored-by: Gustavo Bazan <gus.bazan@hey.com> Co-authored-by: sivchari <shibuuuu5@gmail.com> Co-authored-by: Ville Skyttä <ville.skytta@upcloud.com> Co-authored-by: sg0hsmt <sg0hsmt@gmail.com> Co-authored-by: Marat Reymers <16486128+maratori@users.noreply.github.com> Co-authored-by: Loong Dai <loong.dai@intel.com> Co-authored-by: Sasha Melentyev <sasha@melentyev.io> Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com> Co-authored-by: Dan Kortschak <dan@kortschak.io> Co-authored-by: Ethan Reesor <firelizzard@gmail.com> Co-authored-by: alingse <alingse@foxmail.com> Co-authored-by: Tom Moulard <tom.moulard@traefik.io> Co-authored-by: Oscar <1570691+oscr@users.noreply.github.com> Co-authored-by: Yilong Li <liyilongko@gmail.com> Co-authored-by: Sven Anderson <sven-github@anderson.de> Co-authored-by: Eugene Simonov <esimonov@users.noreply.github.com> Co-authored-by: Dreamacro <Dreamacro@vip.qq.com> Co-authored-by: Kir Kolyshkin <kolyshkin@gmail.com> Co-authored-by: Tyler Dorn <tdorn@anduril.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This linter can be called a successor of exhaustivestruct, and:
include
and/orexclude
patterns;exhaustivestruct
.Also: deprecate
exhaustivestruct
linter