Skip to content

build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.1 #2041

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 7, 2021

Bumps github.com/go-critic/go-critic from 0.5.6 to 0.6.1.

go-critic/go-critic@v0.5.6...v0.6.1

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Relates to an upstream dependency go Pull requests that update Go code labels Jun 7, 2021
@dependabot dependabot bot requested a review from a team June 7, 2021 05:30
saschagrunert
saschagrunert previously approved these changes Jun 7, 2021
@ldez ldez self-assigned this Jun 7, 2021
@ldez ldez added the blocked Need's direct action from maintainer label Jun 7, 2021
@ldez
Copy link
Member

ldez commented Jun 7, 2021

$ GO111MODULE=off ./golangci-lint run -v
panic: load embedded ruleguard rules: typechecker error: rules/rules.go:4:2: could not import github.com/quasilyte/go-ruleguard/dsl (can't find import: "github.com/quasilyte/go-ruleguard/dsl")

goroutine 1 [running]:
github.com/go-critic/go-critic/checkers.init.10()
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/checkers/checkers.go:55 +0x611
$ make gocritic 
go build -o gocritic ./cmd/gocritic
$ GO111MODULE=off ./gocritic check
panic: load embedded ruleguard rules: typechecker error: rules/rules.go:4:2: could not import github.com/quasilyte/go-ruleguard/dsl (can't find import: "github.com/quasilyte/go-ruleguard/dsl")

goroutine 1 [running]:
github.com/go-critic/go-critic/checkers.init.10()
        /home/ldez/sources/go/src/github.com/go-critic/go-critic/checkers/checkers.go:55 +0x61f

Sounds related to go-critic/go-critic#1044

Hello @quasilyte, is it the expected behavior?

@quasilyte
Copy link
Contributor

@ldez no, it's not. I'll try to figure it out.

@quasilyte
Copy link
Contributor

I'm working on a fix, but it takes time.
It can be expected in a week or two.
go-critic/go-critic#1060

@quasilyte
Copy link
Contributor

This is fixed in master now. We'll test it for a couple of days, collect a few more minor changes and make a release that could be used as an update target for the golangci-lint.

@quasilyte
Copy link
Contributor

quasilyte commented Oct 11, 2021

I think that we should use the next release here, 0.5.8; it fixes the unwanted dependency error.
https://github.com/go-critic/go-critic/releases/tag/v0.5.8
It also includes an initial suggestedfix support.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 11, 2021

A newer version of github.com/go-critic/go-critic exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@ldez ldez force-pushed the dependabot/go_modules/github.com/go-critic/go-critic-0.5.7 branch from 8fbde0d to 8bacbd3 Compare October 12, 2021 07:37
@ldez ldez changed the title build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.5.7 build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.5.8 Oct 12, 2021
@ldez
Copy link
Member

ldez commented Oct 12, 2021

The new version (v0.5.8) doesn't work:

$ make build
go build -o golangci-lint ./cmd/golangci-lint
$ ./golangci-lint run
ERRO [runner] Panic: gocritic: package "goutil" (isInitialPkg: true, needAnalyzeSource: true): invalid base 175843567 (should be >= 175843620): goroutine 25762 [running]:
runtime/debug.Stack(0x169ce34, 0x3c, 0xc00324ecd0)
        /home/ldez/.gvm/gos/go1.16.9/src/runtime/debug/stack.go:24 +0x9f
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyzeSafe.func1(0xc0024fcd70)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:101 +0x1be
panic(0x1434ea0, 0xc00818ea90)
        /home/ldez/.gvm/gos/go1.16.9/src/runtime/panic.go:965 +0x1b9
go/token.(*FileSet).AddFile(0xc0002a0000, 0x0, 0x0, 0xa7b28ef, 0x1a, 0x0)
        /home/ldez/.gvm/gos/go1.16.9/src/go/token/position.go:434 +0x425
github.com/quasilyte/go-ruleguard/internal/gogrep.parseDetectingNode(0xc0002a0000, 0xc023170b40, 0x1a, 0x1a, 0x0, 0x0, 0x0, 0x0)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/internal/gogrep/parse.go:132 +0x75
github.com/quasilyte/go-ruleguard/internal/gogrep.parseExpr(0xc0002a0000, 0x16539ed, 0xe, 0xc00324f1b8, 0x8436a5, 0xc00f8e9800, 0xc0005d8900)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/internal/gogrep/parse.go:49 +0x98
github.com/quasilyte/go-ruleguard/internal/gogrep.Compile(0xc0002a0000, 0x16539ed, 0xe, 0x0, 0x3, 0xc00f8e9800, 0x2)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/internal/gogrep/gogrep.go:59 +0x5a
github.com/quasilyte/go-ruleguard/ruleguard.(*irLoader).loadSyntaxRule(0xc00324f850, 0xc01e47dad0, 0x11, 0x0, 0x166d74d, 0x16, 0x0, 0x0, 0x160bf59, 0xa, ...)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/ruleguard/ir_loader.go:300 +0x8d
github.com/quasilyte/go-ruleguard/ruleguard.(*irLoader).loadRule(0xc00324f850, 0x11, 0x16539ed, 0xe, 0x0, 0x0, 0x166d74d, 0x16, 0x160bf59, 0xa, ...)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/ruleguard/ir_loader.go:276 +0x198
github.com/quasilyte/go-ruleguard/ruleguard.(*irLoader).loadRuleGroup(0xc00324f850, 0x1e37e00, 0x0, 0x0)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/ruleguard/ir_loader.go:250 +0x465
github.com/quasilyte/go-ruleguard/ruleguard.(*irLoader).LoadFile(0xc00324f850, 0x16554e3, 0xe, 0x1e22300, 0xc006460c40, 0x2008100, 0x0)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/ruleguard/ir_loader.go:92 +0x294
github.com/quasilyte/go-ruleguard/ruleguard.(*engine).LoadFromIR(0xc0213fbaf0, 0xc01e976ae0, 0x16554e3, 0xe, 0x1e22300, 0xc02084c388, 0x0)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/ruleguard/engine.go:96 +0x212
github.com/quasilyte/go-ruleguard/ruleguard.(*Engine).LoadFromIR(...)
        /home/ldez/sources/go/pkg/mod/github.com/quasilyte/[email protected]/ruleguard/ruleguard.go:44
github.com/go-critic/go-critic/checkers.init.10.func1(0xc006460bc8, 0xc02084c388, 0xc007f826c0, 0xf80000c00324fa20, 0x9050dd)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/checkers/checkers.go:74 +0x158
github.com/go-critic/go-critic/framework/linter.addChecker.func2(0xc02ab472c0, 0xc00019aa80, 0x165a58b, 0xf)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/framework/linter/checkers_db.go:79 +0xdc
github.com/go-critic/go-critic/framework/linter.newChecker(0xc02ab472c0, 0xc016c207e0, 0x0, 0x0, 0xc0005d4d6e)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/framework/linter/checkers_db.go:92 +0x71
github.com/go-critic/go-critic/framework/linter.NewChecker(...)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/framework/linter/lintpack.go:169
github.com/golangci/golangci-lint/pkg/golinters.buildEnabledCheckers(0xc0005a1e30, 0xc02ab472c0, 0x80ac65, 0x8013e5, 0x104de35, 0x9f000000a0, 0x5)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/gocritic.go:149 +0x185
github.com/golangci/golangci-lint/pkg/golinters.NewGocritic.func1.1(0xc016c0b6c0, 0x2999b02bd, 0x1fcebc0, 0xc00eea0270, 0x2)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/gocritic.go:46 +0x11f
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyze(0xc0024fcd70)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:187 +0x9f2
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyzeSafe.func2()
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:105 +0x2a
github.com/golangci/golangci-lint/pkg/timeutils.(*Stopwatch).TrackStage(0xc001630230, 0x15f535b, 0x8, 0xc0026bb770)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/timeutils/stopwatch.go:111 +0x4d
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyzeSafe(0xc0024fcd70)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:104 +0x91
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*loadingPackage).analyze.func2(0xc0004f10f0, 0xc0024fcd70)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_loadingpackage.go:80 +0x65
created by github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*loadingPackage).analyze
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_loadingpackage.go:75 +0x316 
WARN [runner] Can't run linter goanalysis_metalinter: goanalysis_metalinter: gocritic: package "goutil" (isInitialPkg: true, needAnalyzeSource: true): invalid base 175843567 (should be >= 175843620) 

@quasilyte
Copy link
Contributor

quasilyte commented Oct 12, 2021

I'll take a look.
Upd: I rolled a fix, but we'll have to wait for ~1 day until we merge upcoming changed and do a new rc release.

@quasilyte
Copy link
Contributor

https://github.com/go-critic/go-critic/releases/tag/v0.6.0

@ldez ldez changed the title build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.5.8 build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 Oct 18, 2021
@ldez ldez force-pushed the dependabot/go_modules/github.com/go-critic/go-critic-0.5.7 branch from d6faeb8 to 8f906f4 Compare October 18, 2021 10:34
@ldez
Copy link
Member

ldez commented Oct 18, 2021

There are still issues but for now, I don't know the root cause.

.
├── cmd
│   └── main.go
├── .gitignore
├── golangci-lint
├── .golangci.yml
├── go.mod
├── go.sum
└── rules.go
.golangci.yml
linters:
  disable-all: true
  enable:
    - "gocritic"

linters-settings:
  gocritic:
    enabled-checks:
      - ruleguard
    settings:
      ruleguard:
        rules: "./rules.go"
        failOnError: true
rules.go
package gorules

import "github.com/quasilyte/go-ruleguard/dsl"

func dupSubExpr(m dsl.Matcher) {
	m.Match(`$x || $x`,
		`$x && $x`,
		`$x | $x`,
		`$x & $x`).
		Where(m["x"].Pure).
		Report(`suspicious identical LHS and RHS`)
}

func boolExprSimplify(m dsl.Matcher) {
	m.Match(`!($x != $y)`).Suggest(`$x == $y`)
	m.Match(`!($x == $y)`).Suggest(`$x != $y`)
}
cmd/main.go
package main

func main() {
	var v1, v2 int
	println(!(v1 != v2))
	println(!(v1 == v2))
	if v1 == 0 && v1 == 0 {
		println("hello, world!")
	}
}
go.mod
module github.com/golangci/sandbox

go 1.15

require github.com/quasilyte/go-ruleguard/dsl v0.3.10
$ ./golangci-lint run
ERRO [runner] Panic: gocritic: package "gorules" (isInitialPkg: true, needAnalyzeSource: true): interface conversion: interface {} is bool, not string: goroutine 465 [running]:
runtime/debug.Stack()
        /home/ldez/.gvm/gos/go1.17.2/src/runtime/debug/stack.go:24 +0x65
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyzeSafe.func1()
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:101 +0x155
panic({0x12c28a0, 0xc00106f3b0})
        /home/ldez/.gvm/gos/go1.17.2/src/runtime/panic.go:1038 +0x215
github.com/go-critic/go-critic/framework/linter.CheckerParams.String(...)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/framework/linter/lintpack.go:60
github.com/go-critic/go-critic/checkers.newRuleguardChecker(0xc0000d9200, 0xc0003cdbc8)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/checkers/ruleguard_checker.go:108 +0x85f
github.com/go-critic/go-critic/checkers.init.44.func1(0x750000c000538e00)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/checkers/ruleguard_checker.go:49 +0x25
github.com/go-critic/go-critic/framework/linter.addChecker.func2(0xc000705200)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/framework/linter/checkers_db.go:79 +0x118
github.com/go-critic/go-critic/framework/linter.newChecker(0xc0000290e0, 0xc0000290e0)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/framework/linter/checkers_db.go:92 +0x51
github.com/go-critic/go-critic/framework/linter.NewChecker(...)
        /home/ldez/sources/go/pkg/mod/github.com/go-critic/[email protected]/framework/linter/lintpack.go:169
github.com/golangci/golangci-lint/pkg/golinters.buildEnabledCheckers(0x1007f01f7f1c018, 0x167)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/gocritic.go:149 +0x145
github.com/golangci/golangci-lint/pkg/golinters.NewGocritic.func1.1(0xc000f9eea0)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/gocritic.go:46 +0x125
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyze(0xc000982120)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:187 +0x9c4
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyzeSafe.func2()
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:105 +0x1d
github.com/golangci/golangci-lint/pkg/timeutils.(*Stopwatch).TrackStage(0xc00089ad70, {0x13de26e, 0x8}, 0xc000069f60)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/timeutils/stopwatch.go:111 +0x4a
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*action).analyzeSafe(0xc000982120)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_action.go:104 +0x85
github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*loadingPackage).analyze.func2(0xc000069ea0)
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_loadingpackage.go:80 +0x67
created by github.com/golangci/golangci-lint/pkg/golinters/goanalysis.(*loadingPackage).analyze
        /home/ldez/sources/go/src/github.com/golangci/golangci-lint/pkg/golinters/goanalysis/runner_loadingpackage.go:75 +0x1fd 
WARN [runner] Can't run linter gocritic: gocritic: gocritic: package "gorules" (isInitialPkg: true, needAnalyzeSource: true): interface conversion: interface {} is bool, not string 

@quasilyte
Copy link
Contributor

Interesting, to say the least.
I'll try to figure things out.
There is also this: https://groups.google.com/g/golang-tools/c/yQU-rDYo4aY/m/yBb5FeMIAgAJ?utm_medium=email&utm_source=footer
I'm hoping that someone could land me a hand in there.

@quasilyte
Copy link
Contributor

quasilyte commented Oct 19, 2021

Aha, I see.
It's a param type error.
The recent change in failOnError is that it's not a string, not bool.
Valid values:

"all" -- like failOnError:true previously
"dsl" -- DSL type checking
"import" -- import errors

"all" implies "dsl"+"import".
@sebastien-rosset can give more info on that.

As for the issue I referenced above, it was nasty, but I think we have a solution.
It'll require a version bump though.
I'll release v0.6.1 when we're sure that it fixes that problem.

@ldez
Copy link
Member

ldez commented Oct 19, 2021

👍 the problem was related to the type of failOnError

quasilyte added a commit to go-critic/go-critic that referenced this pull request Oct 19, 2021
* `failOn` is a new-style param that configures the error handling behavior

* `failOnError` remains an old-style param of bool type

`failOnError=true`  = `failOn='all'`
`failOnError=false` = `failOn=''`

See golangci/golangci-lint#2041 (comment)
@sebastien-rosset
Copy link
Contributor

Maybe we can split it into 2 options:

  • failOnError remains a bool; implies "all" if set to true
  • failOn becomes a new string that lists failing conditions (like "dsl" and "import")

If failOn is used (it's non-empty), failOnError is ignored.

Sure, I can submit a PR for this.

@quasilyte
Copy link
Contributor

quasilyte commented Oct 20, 2021

I've made it 2 separate flags as described above.
https://github.com/go-critic/go-critic/releases/tag/v0.6.1
I hope that everything will work this time...
Fingers crossed.

@ldez ldez force-pushed the dependabot/go_modules/github.com/go-critic/go-critic-0.5.7 branch from 8f906f4 to ac542b4 Compare October 20, 2021 20:08
@ldez
Copy link
Member

ldez commented Oct 20, 2021

Everything seems to work now! 🎉

Thank you @quasilyte !

@ldez ldez removed the blocked Need's direct action from maintainer label Oct 20, 2021
@ldez
Copy link
Member

ldez commented Oct 20, 2021

Then the story is not finished... Now we have an issue because of go1.15 and os.ReadFile.
I will fix that.

EDIT1: I still have an issue with CodeQL steps
EDIT2: Problem fixed

@quasilyte
Copy link
Contributor

It looks like CI actually passed!
Wooo-ho. 🎉

Copy link
Member

@ernado ernado left a comment

Choose a reason for hiding this comment

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

LGTM now, thanks everyone ❤️

@ldez ldez merged commit 4ce9a19 into master Oct 22, 2021
@delete-merged-branch delete-merged-branch bot deleted the dependabot/go_modules/github.com/go-critic/go-critic-0.5.7 branch October 22, 2021 22:51
@sebastien-rosset sebastien-rosset changed the title build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.1 Oct 23, 2021
@sebastien-rosset
Copy link
Contributor

I updated the PR title and description to show the upgrade is to gocritic 0.6.1

@ldez
Copy link
Member

ldez commented Nov 1, 2021

@quasilyte I did a quick performance test, and the new version (v0.6.1) seems to be at least 2 times slower than the previous version (v0.5.6)

I will try to investigate.

@ldez ldez removed their assignment Nov 2, 2021
@ldez ldez added the linter: update version Update version of linter label Feb 20, 2022
dtzitzon added a commit to anduril/golangci-lint that referenced this pull request May 5, 2022
* nlreturn: add block-size option (golangci#2237)

* build(deps): bump github.com/butuzov/ireturn from 0.1.0 to 0.1.1 (golangci#2246)

Bumps [github.com/butuzov/ireturn](https://github.com/butuzov/ireturn) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/butuzov/ireturn/releases)
- [Changelog](https://github.com/butuzov/ireturn/blob/main/.goreleaser.yaml)
- [Commits](butuzov/ireturn@v0.1.0...v0.1.1)

---
updated-dependencies:
- dependency-name: github.com/butuzov/ireturn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 (golangci#2243)

* build(deps): bump tmpl from 1.0.4 to 1.0.5 in /.github/peril (golangci#2247)

* build(deps): bump github.com/kunwardeep/paralleltest from 1.0.2 to 1.0.3 (golangci#2244)

* build(deps): bump github.com/tetafro/godot from 1.4.10 to 1.4.11 (golangci#2248)

* build(deps): bump github.com/Antonboom/errname from 0.1.4 to 0.1.5 (golangci#2249)

* build(deps): bump golang.org/x/tools from 0.1.5 to 0.1.6 (golangci#2245)

* build(deps): bump github.com/valyala/quicktemplate from 1.6.3 to 1.7.0 (golangci#2250)

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

* build(deps): bump github.com/mattn/go-colorable from 0.1.8 to 0.1.9 (golangci#2252)

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

* Add tenv linter (golangci#2221)

* build(deps): bump github.com/fatih/color from 1.12.0 to 1.13.0 (golangci#2259)

* build(deps): bump github.com/mattn/go-colorable from 0.1.9 to 0.1.10 (golangci#2260)

* fix: go.sum (golangci#2262)

* new-from-rev: add support for finding issues in entire files in a diff (golangci#2264)

* build(deps): bump gatsby-plugin-robots-txt from 1.6.9 to 1.6.10 in /docs (golangci#2269)

* build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2265)

* build(deps): bump gatsby-plugin-mdx from 2.13.0 to 2.14.0 in /docs (golangci#2267)

* build(deps): bump puppeteer from 10.2.0 to 10.4.0 in /docs (golangci#2266)

* build(deps): bump gatsby-plugin-offline from 4.13.0 to 4.14.0 in /docs (golangci#2270)

* build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2272)

* build(deps): bump gatsby-plugin-sitemap from 4.9.0 to 4.10.0 in /docs (golangci#2271)

Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap)

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

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

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

* build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.8 to 3.21.9 (golangci#2275)

* build(deps): bump github.com/mgechev/revive from 1.1.1 to 1.1.2 (golangci#2276)

* build(deps): bump github.com/mattn/go-colorable from 0.1.10 to 0.1.11 (golangci#2277)

* build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.0 to 2.3.1 (golangci#2278)

* feat: add contextcheck linter (golangci#2216)

* build(deps): bump github.com/charithe/durationcheck from 0.0.8 to 0.0.9 (golangci#2289)

Bumps [github.com/charithe/durationcheck](https://github.com/charithe/durationcheck) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/charithe/durationcheck/releases)
- [Commits](charithe/durationcheck@v0.0.8...v0.0.9)

---
updated-dependencies:
- dependency-name: github.com/charithe/durationcheck
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/securego/gosec/v2 from 2.8.1 to 2.9.1 (golangci#2299)

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

* build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 (golangci#2041)

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

* build(deps): bump github.com/esimonov/ifshort from 1.0.2 to 1.0.3 (golangci#2303)

* Add code comments to document source code (golangci#2306)

* errcheck: empty selector name. (golangci#2309)

* add varnamelen linter (golangci#2240)

* gosec: filter issues according to the severity and confidence (golangci#2295)

* Bump gochecknoglobals to v0.1.0 (golangci#2317)

* dev: replace ioutil with io and os (golangci#2318)

* build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.1 to 2.4.0 (golangci#2324)

* build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.9 to 3.21.10 (golangci#2327)

* build(deps): bump gatsby-plugin-offline from 4.14.0 to 5.0.0 in /docs (golangci#2322)

* build(deps): bump gatsby-plugin-react-svg from 3.0.1 to 3.1.0 in /docs (golangci#2323)

* build(deps): bump github.com/jingyugao/rowserrcheck from 1.1.0 to 1.1.1 (golangci#2326)

* build(deps): bump github.com/nakabonne/nestif from 0.3.0 to 0.3.1 (golangci#2325)

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

* docs: clarify nolintlint.allow-unused (golangci#2319)

* build(deps): bump gatsby-plugin-sitemap from 4.10.0 to 5.0.0 in /docs (golangci#2320)

Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 4.10.0 to 5.0.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/[email protected]/packages/gatsby-plugin-sitemap/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap)

---
updated-dependencies:
- dependency-name: gatsby-plugin-sitemap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

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

* build(deps): bump react-headroom from 3.1.1 to 3.2.0 in /docs (golangci#2333)

* build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2321)

* build(deps): bump react-icons from 4.2.0 to 4.3.1 in /docs (golangci#2334)

* build(deps): bump @emotion/react from 11.4.1 to 11.5.0 in /docs (golangci#2331)

* build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2335)

* build(deps): bump gatsby-plugin-robots-txt in /docs (golangci#2332)

* fix: Add missing space in "disabled by config" warning (golangci#2310)

Before this change, the message said "However, as this checkis disabled by default".

* codeql: Remove unneeded steps (golangci#2336)

Remove executing build and test, there is a special workflow for this and CodeQL does not require running any go code or building the app
Remove `git checkout HEAD^2`, not needed anymore: Warning: 1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Add permission to write the security events

* fix: don't hide enable-all option (golangci#2338)

* Refactor: preallocate slices (golangci#2340)

* docs: change Github to GitHub in comments and docs (golangci#2341)

* gocritic: add support for variable substitution in ruleguard path settings (golangci#2308)

* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add unit tests

* Add unit tests for ruleguard

* Add unit tests for ruleguard

* Add unit tests for ruleguard

* Add unit tests for ruleguard, fix package name

* docs: add documentation for go-critic and ruleguard settings (golangci#2304)

* Add github.com/breml/bidichk linter (golangci#2330)

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

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

* exhaustive: upgrade to v0.3.6; add new flags and deprecate old ones (golangci#2344)

* bump varnamelen to v0.4.0 (golangci#2348)

* bump bidichk from v0.1.1 to v0.2.0

* docs: fix a typo and a syntax error in architecture.mdx (golangci#2351)

* build(deps): bump github.com/breml/bidichk from 0.2.0 to 0.2.1 (golangci#2354)

* build(deps): bump github.com/nishanths/exhaustive from 0.3.6 to 0.6.0 (golangci#2353)

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

* docs: fix grammar issues in comments (golangci#2352)

* fix: reduce flaky in the CI and clean the .golangci.yml of the project (golangci#2359)

* fix: clean linter configuration
* fix: minor changes
* fix: increase timeout

* Ensure that the Issues key in JSON format is a list (golangci#2358)

This makes the data more consistent and easier to use with other tools.
For example, a third-party tool can iterate over `Issues` without having
to make a preliminary null check.

* Show deprecated mark in the CLI linters help (golangci#2350)

* Show deprecated mark in linters list

* fix output deprecated mark in linters list

* docs: fix wrong default value in comment (golangci#2360)

* dev: reused exit codes (golangci#2364)

* dev: clean up and used iota for exit codes (golangci#2366)

* bump varnamelen from v0.4.0 to v0.5.0 (golangci#2369)

* build(deps): bump honnef.co/go/tools from 0.2.1 to 0.2.2 (golangci#2370)

* build(deps): bump github.com/securego/gosec/v2 from 2.9.1 to 2.9.2 (golangci#2372)

* build(deps): bump mvdan.cc/gofumpt from 0.1.1 to 0.2.0 (golangci#2373)

* build(deps): bump github.com/nishanths/exhaustive from 0.6.0 to 0.7.11 (golangci#2371)

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

* Add errchkjson linter (golangci#2362)

* wrapcheck: update configuration to include ignoreSignRegexps (golangci#2379)

* build(deps): bump actions/cache from 2.1.6 to 2.1.7 (golangci#2383)

* build(deps): bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12 (golangci#2384)

* build(deps): bump github.com/securego/gosec/v2 from 2.9.2 to 2.9.3 (golangci#2385)

* build(deps): bump @emotion/react from 11.5.0 to 11.7.0 in /docs (golangci#2389)

* build(deps): bump gatsby-plugin-offline from 5.0.0 to 5.3.0 in /docs (golangci#2390)

* build(deps): bump gatsby-plugin-sitemap from 5.0.0 to 5.3.0 in /docs (golangci#2391)

* build(deps): bump puppeteer from 10.4.0 to 12.0.1 in /docs (golangci#2392)

* build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2396)

* build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2398)

* build(deps): bump @emotion/styled from 11.3.0 to 11.6.0 in /docs (golangci#2397)

* build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.10 to 3.21.11 (golangci#2405)

Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.21.10 to 3.21.11.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](shirou/gopsutil@v3.21.10...v3.21.11)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/securego/gosec/v2 from 2.9.3 to 2.9.5 (golangci#2413)

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

* build(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.0 (golangci#2412)

* revive: fix enableAllRules (golangci#2380)

* build(deps): bump github.com/fzipp/gocyclo from 0.3.1 to 0.4.0 (golangci#2425)

Bumps [github.com/fzipp/gocyclo](https://github.com/fzipp/gocyclo) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/fzipp/gocyclo/releases)
- [Changelog](https://github.com/fzipp/gocyclo/blob/main/CHANGELOG.md)
- [Commits](fzipp/gocyclo@v0.3.1...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/fzipp/gocyclo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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

* build(deps): bump mvdan.cc/gofumpt from 0.2.0 to 0.2.1 (golangci#2427)

Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/spf13/viper from 1.10.0 to 1.10.1 (golangci#2424)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (golangci#2426)

* build(deps): bump github.com/esimonov/ifshort from 1.0.3 to 1.0.4 (golangci#2436)

* dev: sorting linters by alphabet (ascending order) (golangci#2437)

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

* fix: update uname_os from shlib in install.sh (golangci#1944) (golangci#2388)

* build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2441)

* build(deps): bump puppeteer from 12.0.1 to 13.0.1 in /docs (golangci#2442)

* build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2443)

* build(deps): bump @emotion/react from 11.7.0 to 11.7.1 in /docs (golangci#2446)

* build(deps): bump prop-types from 15.7.2 to 15.8.0 in /docs (golangci#2444)

* build(deps): bump gatsby-plugin-sitemap from 5.3.0 to 5.4.0 in /docs (golangci#2447)

* build(deps): bump gatsby-plugin-offline from 5.3.0 to 5.4.0 in /docs (golangci#2448)

* gocritic: support autofix (golangci#2450)

* build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.11 to 3.21.12 (golangci#2456)

* build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2455)

* build(deps): bump github.com/ldez/tagliatelle from 0.2.0 to 0.3.0 (golangci#2454)

* doc: improve revive documentation (golangci#2458)

* dev: improve and clean fix_test (golangci#2457)

* docs: more revive examples (golangci#2459)

* Add support for multiple outputs (golangci#2386)

* Add decorder linter (golangci#2453)

* Print error text in <failure> tag content for more readable junit report (golangci#2460)

* pkg/result/processors: compile nolint regexp only once (golangci#2463)

* depguard: updates configuration (golangci#2467)

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

* dev: add printers unit tests. (golangci#2461)

* build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2472)

* build(deps): bump github.com/go-critic/go-critic from 0.6.1 to 0.6.2 (golangci#2474)

* build(deps): bump gitlab.com/bosi/decorder from 0.2.0 to 0.2.1 (golangci#2473)

* docs: updates usage settings for `go-mnd` (golangci#2476)

* exhaustive: drop deprecated/unused settings (golangci#2482)

* godot: add period option (golangci#2483)

* Return error if any linter fails to run (golangci#2471)

* Bump github.com/ashanbrown/forbidigo from 1.2.0 to 1.3.0 (golangci#2487)

* Bump makezero to v1.1.0 (golangci#2490)

* build(deps): bump github.com/kulti/thelper from 0.4.0 to 0.5.0 (golangci#2492)

Bumps [github.com/kulti/thelper](https://github.com/kulti/thelper) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/kulti/thelper/releases)
- [Changelog](https://github.com/kulti/thelper/blob/master/.goreleaser.yml)
- [Commits](kulti/thelper@v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/kulti/thelper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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

* build(deps): bump github.com/breml/errchkjson from 0.2.0 to 0.2.1 (golangci#2493)

* build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (golangci#2491)

* dev: rename `rowserrcheck` linter file to match linter name. (golangci#2495)

* Add maintidx linter (golangci#2435)

* varnamelen: explicit default values (golangci#2496)

* gomnd: new configuration (golangci#2498)

* add containedctx linter (golangci#2382)

* importas: new option `no-extra-aliases` (golangci#2494)

* bump github.com/yeya24/promlinter from v0.1.0 to HEAD (golangci#2500)

* docs: improve linters settings section (golangci#2499)

* docs: split configuration page into multiple sections (golangci#2484)

* fix: importas no-extra-aliases (golangci#2503)

* docs: improve configuration file content (golangci#2501)

* docs: improve page about false-postive (golangci#2502)

* unparam: bump to HEAD (golangci#2506)

* errorlint: bump to HEAD (golangci#2507)

* bodyclose: bump to HEAD (golangci#2508)

* ineffassign: bump to HEAD (golangci#2509)

* asciicheck: bump to v0.1.1 (golangci#2510)

* forcetypeassert: bump to v0.1.0 (golangci#2511)

* docs: improve configuration documentation (golangci#2514)

* build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.4.0 to 2.5.0 (golangci#2518)

* build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2519)

* build(deps): bump github.com/securego/gosec/v2 from 2.9.5 to 2.9.6 (golangci#2516)

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

* build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (golangci#2517)

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

* Add "grouper" linter (golangci#2497)

* docs(revive): fix typo on the option `disabled`(golangci#2520)

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

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

* docs: fix misinterpreted XML tag in changelog (golangci#2522)

* fix debug output (golangci#2531)

* build(deps): bump github.com/kulti/thelper from 0.5.0 to 0.5.1 (golangci#2535)

Bumps [github.com/kulti/thelper](https://github.com/kulti/thelper) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/kulti/thelper/releases)
- [Changelog](https://github.com/kulti/thelper/blob/master/.goreleaser.yml)
- [Commits](kulti/thelper@v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: github.com/kulti/thelper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump ws from 6.2.1 to 6.2.2 in /docs (golangci#2537)

Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@6.2.1...6.2.2)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

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

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

* build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (golangci#2534)

Bumps [github.com/sylvia7788/contextcheck](https://github.com/sylvia7788/contextcheck) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/sylvia7788/contextcheck/releases)
- [Commits](kkHAIKE/contextcheck@v1.0.4...v1.0.5)

---
updated-dependencies:
- dependency-name: github.com/sylvia7788/contextcheck
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump ssri from 6.0.1 to 6.0.2 in /docs (golangci#2536)

* Revert "build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (golangci#2534)" (golangci#2538)

This reverts commit 181c61f.

* build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2539)

Bumps [gatsby-plugin-google-analytics](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-google-analytics) from 4.4.0 to 4.6.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-analytics/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-google-analytics)

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

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

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

* build(deps): bump react-live from 2.3.0 to 2.4.1 in /docs (golangci#2540)

Bumps [react-live](https://github.com/philpl/react-live) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/philpl/react-live/releases)
- [Commits](FormidableLabs/react-live@v2.3.0...v2.4.1)

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

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

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

* build(deps): bump gatsby-plugin-offline from 5.4.0 to 5.6.0 in /docs (golangci#2541)

Bumps [gatsby-plugin-offline](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-offline) from 5.4.0 to 5.6.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-offline/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-offline)

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

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

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

* build(deps): bump gatsby-plugin-sitemap from 5.4.0 to 5.6.0 in /docs (golangci#2542)

Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 5.4.0 to 5.6.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap)

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

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

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

* build(deps): bump prop-types from 15.8.0 to 15.8.1 in /docs (golangci#2546)

Bumps [prop-types](https://github.com/facebook/prop-types) from 15.8.0 to 15.8.1.
- [Release notes](https://github.com/facebook/prop-types/releases)
- [Changelog](https://github.com/facebook/prop-types/blob/main/CHANGELOG.md)
- [Commits](facebook/prop-types@v15.8.0...v15.8.1)

---
updated-dependencies:
- dependency-name: prop-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump polished from 4.1.3 to 4.1.4 in /docs (golangci#2548)

Bumps [polished](https://github.com/styled-components/polished) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/styled-components/polished/releases)
- [Commits](styled-components/polished@v4.1.3...v4.1.4)

---
updated-dependencies:
- dependency-name: polished
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump puppeteer from 13.0.1 to 13.1.3 in /docs (golangci#2547)

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.0.1 to 13.1.3.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](puppeteer/puppeteer@v13.0.1...v13.1.3)

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

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

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

* build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2545)

Bumps [gatsby-remark-copy-linked-files](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-copy-linked-files) from 5.4.0 to 5.6.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-copy-linked-files/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-copy-linked-files)

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

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

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

* bump varnamelen from v0.5.0 to v0.6.0 (golangci#2551)

* build(deps): bump simple-get from 3.1.0 to 3.1.1 in /docs (golangci#2552)

Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](feross/simple-get@v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

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

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

* dev: upgrade to gatsby 4 (golangci#2553)

* build(deps): bump simple-get from 4.0.0 to 4.0.1 in /docs (golangci#2554)

* build(deps): bump github.com/breml/errchkjson from 0.2.1 to 0.2.2 (golangci#2559)

Bumps [github.com/breml/errchkjson](https://github.com/breml/errchkjson) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/breml/errchkjson/releases)
- [Changelog](https://github.com/breml/errchkjson/blob/master/.goreleaser.yml)
- [Commits](breml/errchkjson@v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: github.com/breml/errchkjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/ldez/tagliatelle from 0.3.0 to 0.3.1 (golangci#2557)

Bumps [github.com/ldez/tagliatelle](https://github.com/ldez/tagliatelle) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/ldez/tagliatelle/releases)
- [Commits](ldez/tagliatelle@v0.3.0...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/ldez/tagliatelle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.1 (golangci#2558)

* build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2556)

* docs(decorder): fix `disable-init-func-first-check: false` elaboration (golangci#2560)

* build(deps): bump ajv from 6.12.2 to 6.12.6 in /.github/peril (golangci#2564)

* bump github.com/daixiang0/gci from 0.2.9 to 0.3.0 (golangci#2532)

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

* build(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /docs (golangci#2567)

* build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2571)

Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/quasilyte/go-ruleguard/releases)
- [Commits](quasilyte/go-ruleguard@dsl/v0.3.16...dsl/v0.3.17)

---
updated-dependencies:
- dependency-name: github.com/quasilyte/go-ruleguard/dsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/breml/bidichk from 0.2.1 to 0.2.2 (golangci#2572)

Bumps [github.com/breml/bidichk](https://github.com/breml/bidichk) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/breml/bidichk/releases)
- [Changelog](https://github.com/breml/bidichk/blob/master/.goreleaser.yml)
- [Commits](breml/bidichk@v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: github.com/breml/bidichk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/breml/errchkjson from 0.2.2 to 0.2.3 (golangci#2570)

Bumps [github.com/breml/errchkjson](https://github.com/breml/errchkjson) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/breml/errchkjson/releases)
- [Changelog](https://github.com/breml/errchkjson/blob/master/.goreleaser.yml)
- [Commits](breml/errchkjson@v0.2.2...v0.2.3)

---
updated-dependencies:
- dependency-name: github.com/breml/errchkjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* bump github.com/mgechev/revive from v1.1.3 to v1.1.4 (golangci#2576)

* gci: fix configuration naming (golangci#2578)

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

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

* build(deps): bump gatsby-source-filesystem from 4.6.0 to 4.7.0 in /docs (golangci#2581)

* docs: add link to configuration in the linters list (golangci#2587)

* build(deps): bump github.com/ultraware/whitespace from 0.0.4 to 0.0.5 (golangci#2580)

* gci: restore defaults for sections (golangci#2589)

* bump github.com/daixiang0/gci to HEAD (golangci#2593)

* build(deps): bump gatsby-transformer-yaml from 4.6.0 to 4.7.0 in /docs (golangci#2583)

Bumps [gatsby-transformer-yaml](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-yaml) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-yaml/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-transformer-yaml)

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

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

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

* build(deps): bump gatsby-remark-images from 6.6.0 to 6.7.0 in /docs (golangci#2582)

Bumps [gatsby-remark-images](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-images) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-images/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-images)

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

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

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

* build(deps): bump gatsby-plugin-manifest from 4.6.0 to 4.7.0 in /docs (golangci#2586)

Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-manifest)

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

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

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

* build(deps): bump url-parse from 1.5.1 to 1.5.7 in /docs (golangci#2590)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.1...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

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

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

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

* build(deps): bump gatsby-transformer-sharp from 4.6.0 to 4.7.0 in /docs (golangci#2584)

* build(deps): bump gatsby-plugin-emotion from 7.6.0 to 7.7.0 in /docs (golangci#2585)

* bump github.com/daixiang0/gci to v0.3.1 (golangci#2596)

* docs: add "back to the top" button (golangci#2602)

* feat: use non-breaking space
* feat: add back on top button

* docs: add forbidigo example that uses comments (golangci#2599)

* build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.4.0 to 2.5.0 (golangci#2603)

* errcheck: add an option to remove default exclusions (golangci#2607)

* revive: fix default values (golangci#2611)

* bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 (golangci#2614)

* docs: improve linters page (golangci#2617)

* Default to YAML when config file has no extension (golangci#2618)

* build(deps): bump node-fetch in /.github/contributors (golangci#2616)

* build(deps): bump mermaid from 8.8.0 to 8.14.0 in /docs (golangci#2620)

* build(deps): bump mvdan.cc/gofumpt from 0.2.1 to 0.3.0 (golangci#2622)

Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.2.1...v0.3.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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

* build(deps): bump url-parse from 1.5.7 to 1.5.10 in /docs (golangci#2625)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

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

* build(deps): bump github.com/sivchari/containedctx from 1.0.1 to 1.0.2 (golangci#2623)

Bumps [github.com/sivchari/containedctx](https://github.com/sivchari/containedctx) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/sivchari/containedctx/releases)
- [Commits](sivchari/containedctx@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: github.com/sivchari/containedctx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/ashanbrown/makezero from 1.1.0 to 1.1.1 (golangci#2621)

Bumps [github.com/ashanbrown/makezero](https://github.com/ashanbrown/makezero) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/ashanbrown/makezero/releases)
- [Commits](ashanbrown/makezero@v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/ashanbrown/makezero
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* build(deps): bump github.com/securego/gosec/v2 from 2.9.6 to 2.10.0 (golangci#2624)

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

* build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (golangci#2627)

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

* build(deps): bump actions/setup-node from 2 to 3 (golangci#2628)

* build(deps): bump gatsby-plugin-sitemap from 5.6.0 to 5.9.0 in /docs (golangci#2633)

Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 5.6.0 to 5.9.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap)

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

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

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

* build(deps): bump prism-react-renderer from 1.2.1 to 1.3.1 in /docs (golangci#2630)

Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](FormidableLabs/prism-react-renderer@v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: prism-react-renderer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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

* build(deps): bump gatsby from 4.6.2 to 4.9.0 in /docs (golangci#2631)

Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 4.6.2 to 4.9.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/[email protected]@4.9.0)

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

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

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

* build(deps): bump gatsby-plugin-mdx from 3.6.0 to 3.9.0 in /docs (golangci#2629)

* build(deps): bump gatsby-plugin-emotion from 7.7.0 to 7.9.0 in /docs (golangci#2632)

* build(deps): bump gatsby-plugin-sharp from 4.6.0 to 4.9.0 in /docs (golangci#2636)

Bumps [gatsby-plugin-sharp](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sharp) from 4.6.0 to 4.9.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sharp/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sharp)

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

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

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

* build(deps): bump @emotion/react from 11.7.1 to 11.8.1 in /docs (golangci#2634)

* build(deps): bump gatsby-plugin-manifest from 4.7.0 to 4.9.0 in /docs (golangci#2635)

* build(deps): bump github.com/daixiang0/gci from 0.3.1 to 0.3.2 (golangci#2640)

* build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.1 to 3.22.2 (golangci#2641)

* build(deps): bump normalize-url from 4.5.0 to 4.5.1 in /docs (golangci#2642)

Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

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

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

* build(deps): bump actions/checkout from 2 to 3 (golangci#2643)

* gofumpt: add module-path setting (golangci#2644)

* build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (golangci#2646)

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](spf13/cobra@v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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

* go1.18 support (golangci#2438)

* fix: completion for fish-shell

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

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

* bump varnamelen to v0.6.1 (golangci#2656)

* build(deps): bump github.com/hashicorp/go-version from 1.2.1 to 1.4.0 (golangci#2659)

Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.2.1 to 1.4.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](hashicorp/go-version@v1.2.1...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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

* build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (golangci#2660)

* fix: update base images (golangci#2661)

* docs: fix GitHub Releases Stats badge link. (golangci#2665)

* fix: disable structcheck with go1.18 (golangci#2666)

* depguard: reduce requirements (golangci#2672)

* build(deps): bump actions/cache from 2.1.7 to 3 (golangci#2674)

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](actions/cache@v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

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

* feat: automatic Go version detection (golangci#2669)

* feat: disable unsupported go1.18 govet analyzers
* fix: inactivate interfacer with go1.18

* fix: help command (golangci#2681)

Co-authored-by: Oleg Butuzov <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <[email protected]>
Co-authored-by: sivchari <[email protected]>
Co-authored-by: Nate Finch <[email protected]>
Co-authored-by: sylvia <[email protected]>
Co-authored-by: Sebastien Rosset <[email protected]>
Co-authored-by: Maik Schreiber <[email protected]>
Co-authored-by: Ryan Leung <[email protected]>
Co-authored-by: Benjamin <[email protected]>
Co-authored-by: Fernandez Ludovic <[email protected]>
Co-authored-by: Kevin Gillette <[email protected]>
Co-authored-by: Kirill Danshin <[email protected]>
Co-authored-by: Sergey Vilgelm <[email protected]>
Co-authored-by: Oleksandr Redko <[email protected]>
Co-authored-by: Lucas Bremgartner <[email protected]>
Co-authored-by: golangci-releaser <[email protected]>
Co-authored-by: Nishanth Shanmugham <[email protected]>
Co-authored-by: Rafik Draoui <[email protected]>
Co-authored-by: Danil Ovchinnikov <[email protected]>
Co-authored-by: mook <[email protected]>
Co-authored-by: Alexander Melentyev <[email protected]>
Co-authored-by: Tim Kral <[email protected]>
Co-authored-by: Miles Delahunty <[email protected]>
Co-authored-by: Kyungmin Bae <[email protected]>
Co-authored-by: Denis Limarev <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: Florian Bosdorff <[email protected]>
Co-authored-by: Donal Byrne <[email protected]>
Co-authored-by: Iskander (Alex) Sharipov <[email protected]>
Co-authored-by: Simon Sawert <[email protected]>
Co-authored-by: Andrew Shannon Brown <[email protected]>
Co-authored-by: Hiroyuki Yagihashi <[email protected]>
Co-authored-by: leonklingele <[email protected]>
Co-authored-by: Denis Limarev <[email protected]>
Co-authored-by: Ville Skyttä <[email protected]>
Co-authored-by: ngehrsitz <[email protected]>
Co-authored-by: Chris Suszynski <[email protected]>
Co-authored-by: Craig Furman <[email protected]>
Co-authored-by: R. Franco <[email protected]>
Co-authored-by: John Reese <[email protected]>
Co-authored-by: Dylan Arbour <[email protected]>
Co-authored-by: Demitri Tzitzon <[email protected]>
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
@ldez ldez added this to the v1.43 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Relates to an upstream dependency go Pull requests that update Go code linter: update version Update version of linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants