Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump github.com/golangci/golangci-lint from 1.45.2 to 1.46.0 #883

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 10, 2022

Bumps github.com/golangci/golangci-lint from 1.45.2 to 1.46.0.

Release notes

Sourced from github.com/golangci/golangci-lint's releases.

v1.46.0

Changelog

  • b8c061e5 Add execinquery linter (#2677)
  • 333187c0 Add nonamedreturns linter (#2701)
  • 89e6cd66 Add nosprintfhostport linter (#2749)
  • ff93f271 build(deps): bump actions/setup-go from 2 to 3 (#2763)
  • 68f5ceab build(deps): bump github.com/Antonboom/errname from 0.1.5 to 0.1.6 (#2758)
  • b8f973e5 build(deps): bump github.com/Antonboom/nilnil from 0.1.0 to 0.1.1 (#2757)
  • d335b96f build(deps): bump github.com/BurntSushi/toml from 1.0.0 to 1.1.0 (#2755)
  • 4aa082a3 build(deps): bump github.com/breml/bidichk from 0.2.2 to 0.2.3 (#2698)
  • 97adeb3d build(deps): bump github.com/breml/errchkjson from 0.2.3 to 0.3.0 (#2695)
  • a8723d66 build(deps): bump github.com/fzipp/gocyclo from 0.4.0 to 0.5.0 (#2693)
  • e87bd577 build(deps): bump github.com/fzipp/gocyclo from 0.5.0 to 0.5.1 (#2756)
  • f7a66d01 build(deps): bump github.com/go-critic/go-critic from 0.6.2 to 0.6.3 (#2759)
  • 29820052 build(deps): bump github.com/ldez/gomoddirectives from 0.2.2 to 0.2.3 (#2793)
  • 00b1b711 build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (#2741)
  • f3684052 build(deps): bump github.com/mgechev/revive from 1.2.0 to 1.2.1 (#2760)
  • 8edcc41b build(deps): bump github.com/nishanths/predeclared from 0.2.1 to 0.2.2 (#2761)
  • 1b1c7206 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2691)
  • f3c9bd15 build(deps): bump github.com/securego/gosec/v2 from 2.10.0 to 2.11.0 (#2697)
  • 7d24a49c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.3 (#2740)
  • 8537612d build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4 (#2792)
  • 80c4a76d build(deps): bump github.com/sivchari/tenv from 1.4.7 to 1.5.0 (#2739)
  • 62ab4108 build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (#2770)
  • 7bed0859 build(deps): bump github.com/stbenjam/no-sprintf-host-port (#2781)
  • b0ff233b build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (#2696)
  • b7e13d6d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.0 to 2.6.1 (#2791)
  • acceecf6 build(deps): bump github/codeql-action from 1 to 2 (#2782)
  • e4945f75 build(deps): bump honnef.co/go/tools from 0.2.2 to 0.3.0 (#2738)
  • 5c77c1b9 build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.1 (#2780)
  • 4472864d build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/contributors (#2685)
  • 10cc667b build(deps): bump minimist from 1.2.5 to 1.2.6 in /tools (#2686)
  • 7c94fe39 build(deps): bump moment from 2.25.3 to 2.29.2 in /.github/contributors (#2753)
  • 74ffd77c build(deps): bump mvdan.cc/gofumpt from 0.3.0 to 0.3.1 (#2694)
  • 293b83d8 build(deps): bump peter-evans/create-pull-request from 3 to 4 (#2699)
  • bb2fb452 bump deadcode to HEAD (#2704)
  • 7086a944 bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (#2742)
  • 023be2ea bump varnamelen to v0.6.2 (#2684)
  • d2ccc6d2 bump varnamelen to v0.8.0 (#2703)
  • a2e6c767 feat(log): enable override coloring based on CLICOLOR and CLICOLOR_FORCE (#2657)
  • 380699a0 feat: add exhaustruct linter (#2667)
  • 76b5a53d nonamedreturns: bump from 1.0.0 to 1.0.1 (#2776)
  • 93f1bd2d promlinter: bump to v0.2.0 (#2789)
  • f5b92e1a staticcheck: re-enable for go1.18 (#2746)
  • f79bc883 unused: fix false-positive (#2772)
Changelog

Sourced from github.com/golangci/golangci-lint's changelog.

v1.46.0

  1. new linters:
  2. updated linters:
    • bidichk: from 0.2.2 to 0.2.3
    • deadcode: bump to HEAD
    • errchkjson: from 0.2.3 to 0.3.0
    • errname: from 0.1.5 to 0.1.6
    • go-critic: from 0.6.2 to 0.6.3
    • gocyclo: from 0.4.0 to 0.5.1
    • gofumpt from 0.3.0 to 0.3.1
    • gomoddirectives: from 0.2.2 to 0.2.3
    • gosec: from 2.10.0 to 2.11.0
    • honnef.co/go/tools: from 0.2.2to 0.3.1 (go1.18 support)
    • nilnil: from 0.1.0 to 0.1.1
    • nonamedreturns: bump from 1.0.0 to 1.0.1
    • predeclared: from 0.2.1 to 0.2.2
    • promlinter: bump to v0.2.0
    • revive: from 1.1.4 to 1.2.1
    • tenv: from 1.4.7 to 1.5.0
    • thelper: from 0.5.1 to 0.6.2
    • unused: fix false-positive
    • varnamelen: bump to v0.8.0
    • wrapcheck: from 2.5.0 to 2.6.1
    • exhaustivestruct: This linter is deprecated use exhaustruct instead.
  3. documentation:
    • Update "Shell Completion" instruction on Linux
    • Update FAQ page
  4. misc:
    • log: enable override coloring based on CLICOLOR and CLICOLOR_FORCE
Commits
  • 7c1d8b7 docs: update "Shell Completion" instruction on Linux (#2829)
  • b1588fa build(deps): bump gatsby-plugin-robots-txt from 1.7.0 to 1.7.1 in /docs (#2820)
  • 6964ff2 build(deps): bump react from 18.0.0 to 18.1.0 in /docs (#2822)
  • e2f45f6 build(deps): bump gatsby-plugin-catch-links in /docs (#2818)
  • 33c1a00 build(deps): bump postcss from 8.4.12 to 8.4.13 in /docs (#2819)
  • 3176e24 build(deps): bump react-dom from 18.0.0 to 18.1.0 in /docs (#2821)
  • a53a9fb build(deps): bump gatsby-plugin-emotion from 7.11.0 to 7.13.0 in /docs (#2817)
  • 8ec17f2 build(deps): bump gatsby-plugin-canonical-urls in /docs (#2816)
  • 6806766 build(deps): bump gatsby-plugin-mdx from 3.11.1 to 3.13.0 in /docs (#2815)
  • 030e04d build(deps): bump polished from 4.1.4 to 4.2.2 in /docs (#2810)
  • Additional commits viewable in compare view

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)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.45.2 to 1.46.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.45.2...v1.46.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@toteki
Copy link
Member

toteki commented May 10, 2022

New linter produces

Error: x/leverage/keeper/grpc_query.go:40:2: S1001: should use copy() instead of a loop (gosimple)
	for i, t := range tokens {
	^
exit status 1
make: *** [Makefile:146: lint] Error 1

for i, t := range tokens {
resp.Registry[i] = t
}
copy(resp.Registry, tokens)
Copy link
Member

@toteki toteki May 10, 2022

Choose a reason for hiding this comment

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

Note: Adding lint fix in the same PR as the linter++ that newly required it

@codecov-commenter
Copy link

Codecov Report

Merging #883 (5ea7bf8) into main (3b1a656) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #883      +/-   ##
==========================================
- Coverage   51.54%   51.54%   -0.01%     
==========================================
  Files          64       64              
  Lines        9341     9340       -1     
==========================================
- Hits         4815     4814       -1     
  Misses       4281     4281              
  Partials      245      245              
Impacted Files Coverage Δ
x/leverage/keeper/grpc_query.go 6.06% <100.00%> (-0.25%) ⬇️

@toteki
Copy link
Member

toteki commented May 10, 2022

To fix CI, merge #884 first

@robert-zaremba
Copy link
Member

you need to merge main into this branch and re run go mod tidy

@mergify mergify bot merged commit 00547f2 into main May 10, 2022
@mergify mergify bot deleted the dependabot/go_modules/github.com/golangci/golangci-lint-1.46.0 branch May 10, 2022 14:19
mergify bot pushed a commit that referenced this pull request May 10, 2022
…46.0 (#883)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.45.2 to 1.46.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/releases">github.com/golangci/golangci-lint's releases</a>.</em></p>
<blockquote>
<h2>v1.46.0</h2>
<h2>Changelog</h2>
<ul>
<li>b8c061e5 Add execinquery linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2677">#2677</a>)</li>
<li>333187c0 Add nonamedreturns linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2701">#2701</a>)</li>
<li>89e6cd66 Add nosprintfhostport linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2749">#2749</a>)</li>
<li>ff93f271 build(deps): bump actions/setup-go from 2 to 3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2763">#2763</a>)</li>
<li>68f5ceab build(deps): bump github.com/Antonboom/errname from 0.1.5 to 0.1.6 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2758">#2758</a>)</li>
<li>b8f973e5 build(deps): bump github.com/Antonboom/nilnil from 0.1.0 to 0.1.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2757">#2757</a>)</li>
<li>d335b96f build(deps): bump github.com/BurntSushi/toml from 1.0.0 to 1.1.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2755">#2755</a>)</li>
<li>4aa082a3 build(deps): bump github.com/breml/bidichk from 0.2.2 to 0.2.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2698">#2698</a>)</li>
<li>97adeb3d build(deps): bump github.com/breml/errchkjson from 0.2.3 to 0.3.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2695">#2695</a>)</li>
<li>a8723d66 build(deps): bump github.com/fzipp/gocyclo from 0.4.0 to 0.5.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2693">#2693</a>)</li>
<li>e87bd577 build(deps): bump github.com/fzipp/gocyclo from 0.5.0 to 0.5.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2756">#2756</a>)</li>
<li>f7a66d01 build(deps): bump github.com/go-critic/go-critic from 0.6.2 to 0.6.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2759">#2759</a>)</li>
<li>29820052 build(deps): bump github.com/ldez/gomoddirectives from 0.2.2 to 0.2.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2793">#2793</a>)</li>
<li>00b1b711 build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2741">#2741</a>)</li>
<li>f3684052 build(deps): bump github.com/mgechev/revive from 1.2.0 to 1.2.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2760">#2760</a>)</li>
<li>8edcc41b build(deps): bump github.com/nishanths/predeclared from 0.2.1 to 0.2.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2761">#2761</a>)</li>
<li>1b1c7206 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2691">#2691</a>)</li>
<li>f3c9bd15 build(deps): bump github.com/securego/gosec/v2 from 2.10.0 to 2.11.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2697">#2697</a>)</li>
<li>7d24a49c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2740">#2740</a>)</li>
<li>8537612d build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2792">#2792</a>)</li>
<li>80c4a76d build(deps): bump github.com/sivchari/tenv from 1.4.7 to 1.5.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2739">#2739</a>)</li>
<li>62ab4108 build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2770">#2770</a>)</li>
<li>7bed0859 build(deps): bump github.com/stbenjam/no-sprintf-host-port (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2781">#2781</a>)</li>
<li>b0ff233b build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2696">#2696</a>)</li>
<li>b7e13d6d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.0 to 2.6.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2791">#2791</a>)</li>
<li>acceecf6 build(deps): bump github/codeql-action from 1 to 2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2782">#2782</a>)</li>
<li>e4945f75 build(deps): bump honnef.co/go/tools from 0.2.2 to 0.3.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2738">#2738</a>)</li>
<li>5c77c1b9 build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2780">#2780</a>)</li>
<li>4472864d build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/contributors (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2685">#2685</a>)</li>
<li>10cc667b build(deps): bump minimist from 1.2.5 to 1.2.6 in /tools (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2686">#2686</a>)</li>
<li>7c94fe39 build(deps): bump moment from 2.25.3 to 2.29.2 in /.github/contributors (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2753">#2753</a>)</li>
<li>74ffd77c build(deps): bump mvdan.cc/gofumpt from 0.3.0 to 0.3.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2694">#2694</a>)</li>
<li>293b83d8 build(deps): bump peter-evans/create-pull-request from 3 to 4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2699">#2699</a>)</li>
<li>bb2fb452 bump deadcode to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2704">#2704</a>)</li>
<li>7086a944 bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2742">#2742</a>)</li>
<li>023be2ea bump varnamelen to v0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2684">#2684</a>)</li>
<li>d2ccc6d2 bump varnamelen to v0.8.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2703">#2703</a>)</li>
<li>a2e6c767 feat(log): enable override coloring based on CLICOLOR and CLICOLOR_FORCE (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2657">#2657</a>)</li>
<li>380699a0 feat: add <code>exhaustruct</code> linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2667">#2667</a>)</li>
<li>76b5a53d nonamedreturns: bump from 1.0.0 to 1.0.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2776">#2776</a>)</li>
<li>93f1bd2d promlinter: bump to v0.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2789">#2789</a>)</li>
<li>f5b92e1a staticcheck: re-enable for go1.18 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2746">#2746</a>)</li>
<li>f79bc883 unused: fix false-positive (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2772">#2772</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md">github.com/golangci/golangci-lint's changelog</a>.</em></p>
<blockquote>
<h3>v1.46.0</h3>
<ol>
<li>new linters:
<ul>
<li><code>execinquery</code>: <a href="https://github.com/lufeee/execinquery">https://github.com/lufeee/execinquery</a></li>
<li><code>nonamedreturns</code>: <a href="https://github.com/firefart/nonamedreturns">https://github.com/firefart/nonamedreturns</a></li>
<li><code>nosprintfhostport</code>: <a href="https://github.com/stbenjam/no-sprintf-host-port">https://github.com/stbenjam/no-sprintf-host-port</a></li>
<li><code>exhaustruct</code>: <a href="https://github.com/GaijinEntertainment/go-exhaustruc">https://github.com/GaijinEntertainment/go-exhaustruc</a></li>
</ul>
</li>
<li>updated linters:
<ul>
<li><code>bidichk</code>: from 0.2.2 to 0.2.3</li>
<li><code>deadcode</code>: bump to HEAD</li>
<li><code>errchkjson</code>: from 0.2.3 to 0.3.0</li>
<li><code>errname</code>: from 0.1.5 to 0.1.6</li>
<li><code>go-critic</code>: from 0.6.2 to 0.6.3</li>
<li><code>gocyclo</code>: from 0.4.0 to 0.5.1</li>
<li><code>gofumpt</code> from 0.3.0 to 0.3.1</li>
<li><code>gomoddirectives</code>: from 0.2.2 to 0.2.3</li>
<li><code>gosec</code>: from 2.10.0 to 2.11.0</li>
<li><code>honnef.co/go/tools</code>: from 0.2.2to 0.3.1 (go1.18 support)</li>
<li><code>nilnil</code>: from 0.1.0 to 0.1.1</li>
<li><code>nonamedreturns</code>: bump from 1.0.0 to 1.0.1</li>
<li><code>predeclared</code>: from 0.2.1 to 0.2.2</li>
<li><code>promlinter</code>: bump to v0.2.0</li>
<li><code>revive</code>: from 1.1.4 to 1.2.1</li>
<li><code>tenv</code>: from 1.4.7 to 1.5.0</li>
<li><code>thelper</code>: from 0.5.1 to 0.6.2</li>
<li><code>unused</code>: fix false-positive</li>
<li><code>varnamelen</code>: bump to v0.8.0</li>
<li><code>wrapcheck</code>: from 2.5.0 to 2.6.1</li>
<li><code>exhaustivestruct</code>: This linter is deprecated use <code>exhaustruct</code> instead.</li>
</ul>
</li>
<li>documentation:
<ul>
<li>Update &quot;Shell Completion&quot; instruction on Linux</li>
<li>Update FAQ page</li>
</ul>
</li>
<li>misc:
<ul>
<li>log: enable override coloring based on <code>CLICOLOR</code> and <code>CLICOLOR_FORCE</code></li>
</ul>
</li>
</ol>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golangci/golangci-lint/commit/7c1d8b75bd4aed28783a7b6a4dd852b7be9dc3d5"><code>7c1d8b7</code></a> docs: update &quot;Shell Completion&quot; instruction on Linux (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2829">#2829</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/b1588facb9c167acba5d3669696faa35a020d8ae"><code>b1588fa</code></a> build(deps): bump gatsby-plugin-robots-txt from 1.7.0 to 1.7.1 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2820">#2820</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/6964ff23fb8170b5f5a6d2a07988dc19d73d0f48"><code>6964ff2</code></a> build(deps): bump react from 18.0.0 to 18.1.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2822">#2822</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/e2f45f6596d4dc162026a329a306f78af9581368"><code>e2f45f6</code></a> build(deps): bump gatsby-plugin-catch-links in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2818">#2818</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/33c1a00810e2989e5ebfc7fc10909c1349e752be"><code>33c1a00</code></a> build(deps): bump postcss from 8.4.12 to 8.4.13 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2819">#2819</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/3176e2497256ffeee214769ae0a878dbb6768d80"><code>3176e24</code></a> build(deps): bump react-dom from 18.0.0 to 18.1.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2821">#2821</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/a53a9fbafb4f9cb5d665a912197850422338d82a"><code>a53a9fb</code></a> build(deps): bump gatsby-plugin-emotion from 7.11.0 to 7.13.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2817">#2817</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/8ec17f2e7bb2bcb232f19d5ac7b40c0d1143d6e2"><code>8ec17f2</code></a> build(deps): bump gatsby-plugin-canonical-urls in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2816">#2816</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/68067664f1d2d9bc2e9d2b9dd75bdfba7c15b749"><code>6806766</code></a> build(deps): bump gatsby-plugin-mdx from 3.11.1 to 3.13.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2815">#2815</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/030e04dd9080021c1ac0fb42f4a6d1a8e03b1b8a"><code>030e04d</code></a> build(deps): bump polished from 4.1.4 to 4.2.2 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2810">#2810</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint/compare/v1.45.2...v1.46.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/golangci/golangci-lint&package-manager=go_modules&previous-version=1.45.2&new-version=1.46.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

(cherry picked from commit 00547f2)

# Conflicts:
#	go.sum
#	price-feeder/go.mod
#	price-feeder/go.sum
toteki added a commit that referenced this pull request May 10, 2022
…46.0 (backport #883) (#890)

* build(deps): Bump github.com/golangci/golangci-lint from 1.45.2 to 1.46.0 (#883)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.45.2 to 1.46.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/releases">github.com/golangci/golangci-lint's releases</a>.</em></p>
<blockquote>
<h2>v1.46.0</h2>
<h2>Changelog</h2>
<ul>
<li>b8c061e5 Add execinquery linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2677">#2677</a>)</li>
<li>333187c0 Add nonamedreturns linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2701">#2701</a>)</li>
<li>89e6cd66 Add nosprintfhostport linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2749">#2749</a>)</li>
<li>ff93f271 build(deps): bump actions/setup-go from 2 to 3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2763">#2763</a>)</li>
<li>68f5ceab build(deps): bump github.com/Antonboom/errname from 0.1.5 to 0.1.6 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2758">#2758</a>)</li>
<li>b8f973e5 build(deps): bump github.com/Antonboom/nilnil from 0.1.0 to 0.1.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2757">#2757</a>)</li>
<li>d335b96f build(deps): bump github.com/BurntSushi/toml from 1.0.0 to 1.1.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2755">#2755</a>)</li>
<li>4aa082a3 build(deps): bump github.com/breml/bidichk from 0.2.2 to 0.2.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2698">#2698</a>)</li>
<li>97adeb3d build(deps): bump github.com/breml/errchkjson from 0.2.3 to 0.3.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2695">#2695</a>)</li>
<li>a8723d66 build(deps): bump github.com/fzipp/gocyclo from 0.4.0 to 0.5.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2693">#2693</a>)</li>
<li>e87bd577 build(deps): bump github.com/fzipp/gocyclo from 0.5.0 to 0.5.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2756">#2756</a>)</li>
<li>f7a66d01 build(deps): bump github.com/go-critic/go-critic from 0.6.2 to 0.6.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2759">#2759</a>)</li>
<li>29820052 build(deps): bump github.com/ldez/gomoddirectives from 0.2.2 to 0.2.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2793">#2793</a>)</li>
<li>00b1b711 build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2741">#2741</a>)</li>
<li>f3684052 build(deps): bump github.com/mgechev/revive from 1.2.0 to 1.2.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2760">#2760</a>)</li>
<li>8edcc41b build(deps): bump github.com/nishanths/predeclared from 0.2.1 to 0.2.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2761">#2761</a>)</li>
<li>1b1c7206 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2691">#2691</a>)</li>
<li>f3c9bd15 build(deps): bump github.com/securego/gosec/v2 from 2.10.0 to 2.11.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2697">#2697</a>)</li>
<li>7d24a49c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2740">#2740</a>)</li>
<li>8537612d build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2792">#2792</a>)</li>
<li>80c4a76d build(deps): bump github.com/sivchari/tenv from 1.4.7 to 1.5.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2739">#2739</a>)</li>
<li>62ab4108 build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2770">#2770</a>)</li>
<li>7bed0859 build(deps): bump github.com/stbenjam/no-sprintf-host-port (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2781">#2781</a>)</li>
<li>b0ff233b build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2696">#2696</a>)</li>
<li>b7e13d6d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.0 to 2.6.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2791">#2791</a>)</li>
<li>acceecf6 build(deps): bump github/codeql-action from 1 to 2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2782">#2782</a>)</li>
<li>e4945f75 build(deps): bump honnef.co/go/tools from 0.2.2 to 0.3.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2738">#2738</a>)</li>
<li>5c77c1b9 build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2780">#2780</a>)</li>
<li>4472864d build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/contributors (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2685">#2685</a>)</li>
<li>10cc667b build(deps): bump minimist from 1.2.5 to 1.2.6 in /tools (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2686">#2686</a>)</li>
<li>7c94fe39 build(deps): bump moment from 2.25.3 to 2.29.2 in /.github/contributors (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2753">#2753</a>)</li>
<li>74ffd77c build(deps): bump mvdan.cc/gofumpt from 0.3.0 to 0.3.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2694">#2694</a>)</li>
<li>293b83d8 build(deps): bump peter-evans/create-pull-request from 3 to 4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2699">#2699</a>)</li>
<li>bb2fb452 bump deadcode to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2704">#2704</a>)</li>
<li>7086a944 bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2742">#2742</a>)</li>
<li>023be2ea bump varnamelen to v0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2684">#2684</a>)</li>
<li>d2ccc6d2 bump varnamelen to v0.8.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2703">#2703</a>)</li>
<li>a2e6c767 feat(log): enable override coloring based on CLICOLOR and CLICOLOR_FORCE (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2657">#2657</a>)</li>
<li>380699a0 feat: add <code>exhaustruct</code> linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2667">#2667</a>)</li>
<li>76b5a53d nonamedreturns: bump from 1.0.0 to 1.0.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2776">#2776</a>)</li>
<li>93f1bd2d promlinter: bump to v0.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2789">#2789</a>)</li>
<li>f5b92e1a staticcheck: re-enable for go1.18 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2746">#2746</a>)</li>
<li>f79bc883 unused: fix false-positive (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2772">#2772</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md">github.com/golangci/golangci-lint's changelog</a>.</em></p>
<blockquote>
<h3>v1.46.0</h3>
<ol>
<li>new linters:
<ul>
<li><code>execinquery</code>: <a href="https://github.com/lufeee/execinquery">https://github.com/lufeee/execinquery</a></li>
<li><code>nonamedreturns</code>: <a href="https://github.com/firefart/nonamedreturns">https://github.com/firefart/nonamedreturns</a></li>
<li><code>nosprintfhostport</code>: <a href="https://github.com/stbenjam/no-sprintf-host-port">https://github.com/stbenjam/no-sprintf-host-port</a></li>
<li><code>exhaustruct</code>: <a href="https://github.com/GaijinEntertainment/go-exhaustruc">https://github.com/GaijinEntertainment/go-exhaustruc</a></li>
</ul>
</li>
<li>updated linters:
<ul>
<li><code>bidichk</code>: from 0.2.2 to 0.2.3</li>
<li><code>deadcode</code>: bump to HEAD</li>
<li><code>errchkjson</code>: from 0.2.3 to 0.3.0</li>
<li><code>errname</code>: from 0.1.5 to 0.1.6</li>
<li><code>go-critic</code>: from 0.6.2 to 0.6.3</li>
<li><code>gocyclo</code>: from 0.4.0 to 0.5.1</li>
<li><code>gofumpt</code> from 0.3.0 to 0.3.1</li>
<li><code>gomoddirectives</code>: from 0.2.2 to 0.2.3</li>
<li><code>gosec</code>: from 2.10.0 to 2.11.0</li>
<li><code>honnef.co/go/tools</code>: from 0.2.2to 0.3.1 (go1.18 support)</li>
<li><code>nilnil</code>: from 0.1.0 to 0.1.1</li>
<li><code>nonamedreturns</code>: bump from 1.0.0 to 1.0.1</li>
<li><code>predeclared</code>: from 0.2.1 to 0.2.2</li>
<li><code>promlinter</code>: bump to v0.2.0</li>
<li><code>revive</code>: from 1.1.4 to 1.2.1</li>
<li><code>tenv</code>: from 1.4.7 to 1.5.0</li>
<li><code>thelper</code>: from 0.5.1 to 0.6.2</li>
<li><code>unused</code>: fix false-positive</li>
<li><code>varnamelen</code>: bump to v0.8.0</li>
<li><code>wrapcheck</code>: from 2.5.0 to 2.6.1</li>
<li><code>exhaustivestruct</code>: This linter is deprecated use <code>exhaustruct</code> instead.</li>
</ul>
</li>
<li>documentation:
<ul>
<li>Update &quot;Shell Completion&quot; instruction on Linux</li>
<li>Update FAQ page</li>
</ul>
</li>
<li>misc:
<ul>
<li>log: enable override coloring based on <code>CLICOLOR</code> and <code>CLICOLOR_FORCE</code></li>
</ul>
</li>
</ol>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golangci/golangci-lint/commit/7c1d8b75bd4aed28783a7b6a4dd852b7be9dc3d5"><code>7c1d8b7</code></a> docs: update &quot;Shell Completion&quot; instruction on Linux (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2829">#2829</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/b1588facb9c167acba5d3669696faa35a020d8ae"><code>b1588fa</code></a> build(deps): bump gatsby-plugin-robots-txt from 1.7.0 to 1.7.1 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2820">#2820</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/6964ff23fb8170b5f5a6d2a07988dc19d73d0f48"><code>6964ff2</code></a> build(deps): bump react from 18.0.0 to 18.1.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2822">#2822</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/e2f45f6596d4dc162026a329a306f78af9581368"><code>e2f45f6</code></a> build(deps): bump gatsby-plugin-catch-links in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2818">#2818</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/33c1a00810e2989e5ebfc7fc10909c1349e752be"><code>33c1a00</code></a> build(deps): bump postcss from 8.4.12 to 8.4.13 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2819">#2819</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/3176e2497256ffeee214769ae0a878dbb6768d80"><code>3176e24</code></a> build(deps): bump react-dom from 18.0.0 to 18.1.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2821">#2821</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/a53a9fbafb4f9cb5d665a912197850422338d82a"><code>a53a9fb</code></a> build(deps): bump gatsby-plugin-emotion from 7.11.0 to 7.13.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2817">#2817</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/8ec17f2e7bb2bcb232f19d5ac7b40c0d1143d6e2"><code>8ec17f2</code></a> build(deps): bump gatsby-plugin-canonical-urls in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2816">#2816</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/68067664f1d2d9bc2e9d2b9dd75bdfba7c15b749"><code>6806766</code></a> build(deps): bump gatsby-plugin-mdx from 3.11.1 to 3.13.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2815">#2815</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/030e04dd9080021c1ac0fb42f4a6d1a8e03b1b8a"><code>030e04d</code></a> build(deps): bump polished from 4.1.4 to 4.2.2 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2810">#2810</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint/compare/v1.45.2...v1.46.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/golangci/golangci-lint&package-manager=go_modules&previous-version=1.45.2&new-version=1.46.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

(cherry picked from commit 00547f2)

# Conflicts:
#	go.sum
#	price-feeder/go.mod
#	price-feeder/go.sum

* tidy

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: toteki <63419657+toteki@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants