-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.1 #2041
Conversation
$ 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? |
@ldez no, it's not. I'll try to figure it out. |
I'm working on a fix, but it takes time. |
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. |
I think that we should use the next release here, 0.5.8; it fixes the unwanted dependency error. |
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. |
8fbde0d
to
8bacbd3
Compare
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) |
I'll take a look. |
d6faeb8
to
8f906f4
Compare
There are still issues but for now, I don't know the root cause.
.golangci.ymllinters:
disable-all: true
enable:
- "gocritic"
linters-settings:
gocritic:
enabled-checks:
- ruleguard
settings:
ruleguard:
rules: "./rules.go"
failOnError: true rules.gopackage 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.gopackage main
func main() {
var v1, v2 int
println(!(v1 != v2))
println(!(v1 == v2))
if v1 == 0 && v1 == 0 {
println("hello, world!")
}
} go.modmodule 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 |
Interesting, to say the least. |
Aha, I see.
"all" implies "dsl"+"import". As for the issue I referenced above, it was nasty, but I think we have a solution. |
👍 the problem was related to the type of |
* `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)
Sure, I can submit a PR for this. |
I've made it 2 separate flags as described above. |
8f906f4
to
ac542b4
Compare
Everything seems to work now! 🎉 Thank you @quasilyte ! |
Then the story is not finished... Now we have an issue because of go1.15 and EDIT1: I still have an issue with CodeQL steps |
It looks like CI actually passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, thanks everyone ❤️
I updated the PR title and description to show the upgrade is to gocritic 0.6.1 |
@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. |
* 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]>
…olangci#2041) Co-authored-by: Fernandez Ludovic <[email protected]>
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 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)