Skip to content
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 nonamedreturns linter #2701

Merged
merged 21 commits into from
Apr 17, 2022
Merged

Add nonamedreturns linter #2701

merged 21 commits into from
Apr 17, 2022

Conversation

firefart
Copy link
Contributor

@firefart firefart commented Mar 29, 2022

This adds a new linter nonamedreturns

https://github.com/FireFart/nonamedreturns

This linter simply checks for the use of named returns

@boring-cyborg
Copy link

boring-cyborg bot commented Mar 29, 2022

Hey, thank you for opening your first Pull Request !

@CLAassistant
Copy link

CLAassistant commented Mar 29, 2022

CLA assistant check
All committers have signed the CLA.

@ldez ldez added linter: new Support new linter blocked Need's direct action from maintainer labels Mar 29, 2022
@ldez ldez self-requested a review March 29, 2022 10:01
@ldez ldez changed the title Add new linter: namedreturnlint Add namedreturnlint linter Mar 29, 2022
@ldez
Copy link
Member

ldez commented Mar 31, 2022

Hello,
in order for a PR adding a linter to be reviewed, the linter and the PR should follow these constraints:

Requirements:

  • the PR description should have a link to the linter repository
  • the PR description should provide a short explanation about the linter
  • the linter should have a valid license (the file must contain the required information by the license, ex: author, year, etc.)
  • the linter should not be a duplicate of another linter (the team will verify that)
  • the linter should use go/analysis (https://golangci-lint.run/contributing/new-linters/)
  • the linter should not be added to the .golangci.yml of golangci-lint itself (the .golangci.yml should not be edited)
  • .golangci.example.yml:
    • add the configuration if the linter has a configuration (alphabetical order case-insensitive)
    • add the linter to the list of available linters (enable and disable) (alphabetical order case-insensitive)
  • the linter should have a valid tag (ex: v1.0.0)
  • the linter should not have false positives/negatives (the team will verify that)
  • the linter should have tests inside golangci-lint
  • the linter tests should work with T=<name of the linter test file>.go make test_linters
  • the linter tests should have at least one std lib import
  • the load mode (WithLoadMode(...)):
    • if the linter doesn't use types: goanalysis.LoadModeSyntax
    • goanalysis.LoadModeTypesInfo required WithLoadForGoAnalysis() in the Manager
  • the linters should be sorted in the alphabetical order (case-insensitive) in the Manager and .golangci.example.yml
  • the version in WithSince(...) must be the next minor version of golangci-lint (v1.X.0)
  • the linter should not contain init
  • the linter should not contain panic, log.fatal, os.exit
  • the PR should pass the linter.

Recommended:

  • no SSA
  • the linter repository has a CI, tests, a readme, and linting
  • the linter is published as a binary

The golangci-lint team will edit this comment to check the boxes before and during the review.

@ldez
Copy link
Member

ldez commented Mar 31, 2022

The license is still invalid https://github.com/FireFart/namedreturnlint/blob/aaa436feb6710f65388a6c3e5d7a185efedb119b/LICENSE#L655

And some other points need to be fixed.

@firefart
Copy link
Contributor Author

The license is still invalid https://github.com/FireFart/namedreturnlint/blob/aaa436feb6710f65388a6c3e5d7a185efedb119b/LICENSE#L655

And some other points need to be fixed.

This text in the license file is not meant to be changed (take a look at your license for example)

Everything else is addressed except the linter tests should have at least one std lib import because it makes no sense in this linter

@ldez
Copy link
Member

ldez commented Mar 31, 2022

yes, I read the license a bit too quickly.

Everything else is addressed except the linter tests should have at least one std lib import because it makes no sense in this linter

You have to add an std lib import it's a requirement, it's a bit complex to explain in detail but this is required to be sure that the linter works well in several situations.

The other points (except those for the team) still need to be fixed.

@firefart
Copy link
Contributor Author

ok thanks I hope everything is now addressed correctly

pkg/golinters/namedreturnlint.go Outdated Show resolved Hide resolved
@ldez
Copy link
Member

ldez commented Mar 31, 2022

This was the first time I tested this checklist, so it's not perfect.
Do you have some feedback about this checklist? was this helpful to you?

@ldez ldez removed the blocked Need's direct action from maintainer label Apr 1, 2022
@Antonboom
Copy link
Contributor

Antonboom commented Apr 2, 2022

@firefart interesting linter

I hope u know that you cannot do without named values when changing results via defer?

Moreover, nothing prevents you from using both a named results value and a no-nacked return. And in some cases using named results is useful:

func GetList(ctx context.Context) (page []feed.Object, higher, lower *Cursor, err error) { /* ... */ }

func (c *cache) Get(userID string) (u *User, missed bool, err error) {
    // ...
        return nil, false, fmt.Errorf("save user in cache: %w", err)
    // ...
}

It seems to me that we need to come up with a number of checks from the linter more complex than the binary logic "used / don't". Also the name of the linter is confusing now.

@bombsimon
Copy link
Member

FWIW I would consider usung this linter as is. I’ve worked at companies that did not allow named returnes (unconditionally like this linter) so we basically never changed returnes values in defer and almost never returned more than two types.

We don’t have a hard rule for that where I’m at now but I know some people (like me) think omitting variables at return or overwriting what gets returned makes the code harder to understand and it’s pretty unusual that we do that.

Like you said though @Antonboom you can name them and still return named variables. A check for empty returns instead of checking the signature would be nice but I still think there’s a use-case for the linter and I’m not sure we should start deciding what linters to accept based on how many will find it useful. We already have a bunch of linters used by very few people that’s opinionated. Maybe something to discuss outside this PR?

@Antonboom
Copy link
Contributor

@bombsimon

I have nothing against the linter, because previously received your support for my linters (dubious for other people).
I'm just highlighting some cases, suddenly it will be useful to the author and he decides to change the approach.

@firefart
Copy link
Contributor Author

firefart commented Apr 2, 2022

Hi,
jeah I know about the defer but I tend to rather not check the return than using named returns (it does not fit my coding style I would say). They caused to many weird errors in the past for me, especially if you have an err error named return and than produce some errors that don‘t make sense if you don‘t reset an error value sometimes during the code. For example when a function returns an error and you choose to ignore it, but the return value is still set.
I use this linter personally as a coding style check to warn me about them if I accidentally added one to not have production problems afterwards

@ldez
Copy link
Member

ldez commented Apr 2, 2022

Also the name of the linter is confusing now.

I agree with this point, maybe a better name can be nonamedreturn because the meaning of this linter is to forbid named return.

The name namedreturn feels like it will handle all possibilities around named/naked returns.

Personally, I am also a "no named returns" guy (at least by default), because the readability is bad in the majority of the cases and they are sources of bugs.
For me, in general, if a function returns more than 3 values, the function has an algorithmic problem.

@leonklingele
Copy link
Member

I've opened #2526 a couple of months ago which offers the same (and more) functionality but was closed immediately. Can it be reconsidered?

@ldez
Copy link
Member

ldez commented Apr 2, 2022

The problem with your linter was that half of the linter was already provided by another linter.
But yes I could say the same as here but this linter provides only a non-existing rule and go-critic doesn't seem to be interested in.

Note: I have not checked "the linter should not be a duplicate of another linter" and it's not a mistake.

@firefart
Copy link
Contributor Author

firefart commented Apr 2, 2022

I agree with this point, maybe a better name can be nonamedreturn because the meaning of this linter is to forbid named return.

Jeah I agree I renamed the linter to reflect the purpose more cleanly

@firefart
Copy link
Contributor Author

firefart commented Apr 2, 2022

This was the first time I tested this checklist, so it's not perfect. Do you have some feedback about this checklist? was this helpful to you?

Jeah I really like a strict rulebook to check against

Some feedback:
I missed a few points because I did not read them clearly enough like where you need to put the linter in the enabled AND the disabled section (I tought it was an or). So maybe it's better to mark the and is this case bold or make it two points. Also I missed the version point because I changed the revision instead of the minor version.
I think it might also be better to split the points in two sections: 1) Things you need to do in your linter repository (like license and valid tag) and 2) Things that need to be done in this PR. So 1) need to be completed before doing the integration PR.
Once the list is finished it should also be put on https://golangci-lint.run/contributing/new-linters/

@leonklingele

This comment was marked as off-topic.

@ldez ldez mentioned this pull request Apr 2, 2022
@leonklingele
Copy link
Member

@firefart firefart changed the title Add namedreturnlint linter Add nonamedreturns linter Apr 3, 2022
@firefart
Copy link
Contributor Author

firefart commented Apr 3, 2022

@leonklingele thanks for the testcases! I missed a few in my implementation and updated the linter to match those too

@firefart firefart requested a review from ldez April 8, 2022 20:09
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ldez ldez merged commit 333187c into golangci:master Apr 17, 2022
@firefart
Copy link
Contributor Author

@ldez thanks!

@joewreschnig
Copy link

This has resulted in being unable to build golangci-lint without using the official module proxy, since the upstream checksum of [email protected] has changed.

firefart/nonamedreturns#2

@firefart firefart deleted the namedreturns branch April 20, 2022 08:08
dtzitzon pushed a commit to anduril/golangci-lint that referenced this pull request Aug 17, 2022
* fix: help command (golangci#2681)

* docs: Update documentation and assets (golangci#2682)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

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 <[email protected]>

* 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] <[email protected]>

* add new option

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

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 <[email protected]>

* 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/[email protected]@4.11.1)

---
updated-dependencies:
- dependency-name: gatsby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump gatsby-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/[email protected]/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] <[email protected]>

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/[email protected]/packages/gatsby-transformer-yaml)

---
updated-dependencies:
- dependency-name: gatsby-transformer-yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump gatsby-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/[email protected]/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] <[email protected]>

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/[email protected]/packages/gatsby-plugin-manifest)

---
updated-dependencies:
- dependency-name: gatsby-plugin-manifest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump 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/[email protected]...@emotion/[email protected])

---
updated-dependencies:
- dependency-name: "@emotion/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump 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/[email protected]/packages/gatsby-plugin-google-analytics)

---
updated-dependencies:
- dependency-name: gatsby-plugin-google-analytics
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump 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 <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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 <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: add `exhaustruct` linter (golangci#2667)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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/[email protected]/packages/gatsby-remark-copy-linked-files)

---
updated-dependencies:
- dependency-name: gatsby-remark-copy-linked-files
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 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/[email protected]/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] <[email protected]>

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/[email protected]/packages/gatsby-plugin-offline)

---
updated-dependencies:
- dependency-name: gatsby-plugin-offline
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump gatsby-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 <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

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 <[email protected]>

* 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] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs: Update documentation and assets (golangci#2860)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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 <[email protected]>

* 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 <[email protected]>

* 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] <[email protected]>

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/[email protected]/packages/gatsby-remark-autolink-headers/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/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] <[email protected]>

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] <[email protected]>

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/[email protected]@4.15.2)

---
updated-dependencies:
- dependency-name: gatsby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump gatsby-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/[email protected]/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-manifest)

---
updated-dependencies:
- dependency-name: gatsby-plugin-manifest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump gatsby-plugin-mdx from 3.13.0 to 3.15.2 in /docs (golangci#2904)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

* fix: linter

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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 <[email protected]>

* 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 <[email protected]>

* build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (golangci#2925)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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 <[email protected]>

* 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 <[email protected]>

* add nosnakecase lint (golangci#2828)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* dev: remove kortschak from generated team (golangci#2974)

* staticcheck: fix generics (golangci#2976)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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 <[email protected]>

* gci: remove the use of stdin (golangci#2984)

Co-authored-by: Tom Moulard <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

Co-authored-by: Ludovic Fernandez <[email protected]>

* dev: clean commands (golangci#3007)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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] <[email protected]>

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] <[email protected]>

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] <[email protected]>

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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* nolint: drop allow-leading-space option and add "nolint:all" (golangci#3002)

* ifshort: deprecate linter (golangci#3034)

Co-authored-by: Fernandez Ludovic <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: golangci-releaser <[email protected]>
Co-authored-by: Maik Schreiber <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lufe <[email protected]>
Co-authored-by: Milas Bowman <[email protected]>
Co-authored-by: ttys3 <[email protected]>
Co-authored-by: Aleksey Bakin <[email protected]>
Co-authored-by: Christian Mehlmauer <[email protected]>
Co-authored-by: Stephen Benjamin <[email protected]>
Co-authored-by: Anton Zinovyev <[email protected]>
Co-authored-by: Yuki Okushi <[email protected]>
Co-authored-by: Gustavo Bazan <[email protected]>
Co-authored-by: sivchari <[email protected]>
Co-authored-by: Ville Skyttä <[email protected]>
Co-authored-by: sg0hsmt <[email protected]>
Co-authored-by: Marat Reymers <[email protected]>
Co-authored-by: Loong Dai <[email protected]>
Co-authored-by: Sasha Melentyev <[email protected]>
Co-authored-by: Cory Miller <[email protected]>
Co-authored-by: Dan Kortschak <[email protected]>
Co-authored-by: Ethan Reesor <[email protected]>
Co-authored-by: alingse <[email protected]>
Co-authored-by: Tom Moulard <[email protected]>
Co-authored-by: Oscar <[email protected]>
Co-authored-by: Yilong Li <[email protected]>
Co-authored-by: Sven Anderson <[email protected]>
Co-authored-by: Eugene Simonov <[email protected]>
Co-authored-by: Dreamacro <[email protected]>
Co-authored-by: Kir Kolyshkin <[email protected]>
Co-authored-by: Tyler Dorn <[email protected]>
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
@ldez ldez added this to the v1.46 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linter: new Support new linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants