Custom linters

Raftt

CI

Raftt linters

This package contains Go linters for use in Raftt projects.

Linters

discardedreturn

This linter checks for discarded return values from functions:

func foo() func() {
    ...
}

 
foo()         // error: call discards return value
_ = foo()     // OK
defer foo()   // error: call discards return value
defer foo()() // OK

by default, the linter ignores basic types (e.g integers, bools) and errors.

Running

You can build the golangci-lint plugin by running go build -buildmode=plugin golangci-lint/plugin.go.

You can use the supplied Dockerfile to build and run the linter, or

go run cmd/all/main.go

Comments
  • Bump golang.org/x/tools from 0.1.10 to 0.3.0

    Bump golang.org/x/tools from 0.1.10 to 0.3.0

    Bumps golang.org/x/tools from 0.1.10 to 0.3.0.

    Release notes

    Sourced from golang.org/x/tools's releases.

    gopls/v0.3.0

    Note: gopls now loads your entire workspace, where “workspace” is directory you opened in your editor.

    In module mode, you must open your module root (directory containing the go.mod file) or a subdirectory.

    In GOPATH mode, you must open your GOPATH/src or a directory within it. If you have a large GOPATH and you open your GOPATH as your workspace root, gopls may be very slow to load. Please see #36899 for further information.

    • Autocompletion from unimported packages is on by default. You will get completions for something like fmt.Printf even if “fmt” isn’t imported yet. (@​heschik)
    • Workspace-scoped references, rename, and go to implementation. These features use your workspace root as the search scope, so behavior will vary based on the directory you open in your editor. This may result in unexpected behavior. (@​muirdm, @​matloob)
    • Workspace-wide diagnostics. You will now see errors in your entire workspace, rather than just in your currently open files. Analysis errors will only be shown for packages with currently open files.
    • Watch file changes on disk. This allows users to switch branches without reloading their editors. Also, changing configurations no longer requires an editor reload.
    • GOPATH vendoring is fully supported. Previously, some features would ignore vendor directories, causing errors if packages weren't in GOPATH. (@​heschik)
    • New autocompletion suggestions for type conversions. Improved completions for literal candidates and variadic functions. Better rankings, including rankings for builtin functions and keywords. (@​muirdm)
    • Highlighting improvements: Highlighting now applies not only to variables, but also to fields, methods, types, and imports. Additional highlighting helps visualize control flow in loops and functions. Highlighting of single character variables has better support. (@​ridersofrohan)
    • Documentation on hover includes links to pkg.go.dev for exported symbols. (@​Southclaws)
    • Improved support for cgo dependencies. All features now work for packages that have cgo dependencies. Authoring cgo packages is still not supported, but improvements are scheduled for Go 1.15 (see #35721). (@​heschik)
    • Deep completions are now on by default. This feature of completion will search the fields and methods of all available candidates to see if there are any more candidates with the expected type. As an example, say you have imported the context package and are calling a function that takes a context.Context as a parameter. In the case that you don’t have a variable of that type in scope, deep completions will suggest context.Background() and context.TODO(). (@​muirdm)

    Opt-in:

    • staticcheck analyses remain opt-in and can be enabled by setting "staticcheck": true in your gopls settings.
    • Go 1.14 will support running the go command without modifying the user’s go.mod file. This new feature is used in gopls to show diagnostics and suggest edits in a user’s go.mod file rather than change the file without the user noticing. Currently, gopls will suggest removing unused dependencies and warn the user if there is a parse error in the go.mod file. Enable this behavior by using the go1.14 beta and setting "tempModfile": true in your gopls settings. (@​ridersofrohan)

    gopls/v0.2.2

    • Fix concurrent map read and write when a file is created (CL 210199).
    • Fix issue that caused errors to show up when a new file was created (CL 209978).

    gopls/v0.2.1

    • Fix for parse errors showing up as errors on the whole package (CL 206597).

    gopls/v0.2.0

    • Many improvements to autocompletion. In particular, support for completions of array, slice, map, and function literals (@​muirdm).
    • A new diff algorithm (github.com/sergi/go-diff) that improves handling of line endings on different operating systems (@​ianthehat).
    • Improved caching and memory usage (@​stamblerre).
    • Command-line support for links, suggested fixes, and imports (@​kalmanb).
    • Command-line support for references, signature, and symbols (@​rentziass).
    • Command-line support for rename (@​hartzell).

    Opt-in:

    • Get diagnostics from staticcheck by configuring "staticcheck": true in your gopls settings (@​ianthehat).
    • Get autocompletion of unimported packages and symbols by configuring "completeUnimported": true in your gopls settings (@​heschik).
    Commits
    • 502c634 go.mod: update golang.org/x dependencies
    • bd04e32 internal/jsonrpc2_v2: eliminate a potential Accept/Dial race in TestIdleTimeout
    • d41a43b internal/jsonrpc2_v2: fix a potential deadlock when (*Conn).Close is invoked ...
    • 3057465 gopls/doc: Add plugin for Lapce to gopls documentation
    • ba92ae1 internal/persistent: avoid incorrect map validation due to multiple keys
    • 9474ca3 gopls/doc: clarify go work use
    • 003fde1 internal/gcimporter: use nondeprecated go/packages mode bits
    • 5050657 gopls/fake: add semantic token modifiers to fake editor
    • 88a3548 gopls/coverage: repair coverage.go
    • 8e0240a internal/regtest/workspace: permanently skip TestDeleteModule_Interdependent
    • 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)
  • Bump golangci/golangci-lint-action from 3.1.0 to 3.3.0

    Bump golangci/golangci-lint-action from 3.1.0 to 3.3.0

    Bumps golangci/golangci-lint-action from 3.1.0 to 3.3.0.

    Release notes

    Sourced from golangci/golangci-lint-action's releases.

    v3.3.0

    No release notes provided.

    v3.2.0

    What's Changed

    misc

    dependencies

    ... (truncated)

    Commits
    • 07db538 build(deps): bump @​actions/cache from 3.0.4 to 3.0.5 (#586)
    • 328c000 build(deps-dev): bump @​typescript-eslint/eslint-plugin from 5.39.0 to 5.40.0 ...
    • 3a79f8d build(deps-dev): bump @​typescript-eslint/parser from 5.39.0 to 5.40.0 (#584)
    • 43c645b build(deps-dev): bump eslint from 8.24.0 to 8.25.0 (#582)
    • 88e5fc6 build(deps-dev): bump @​typescript-eslint/eslint-plugin from 5.38.1 to 5.39.0 ...
    • 6191de5 build(deps-dev): bump @​typescript-eslint/parser from 5.38.1 to 5.39.0 (#580)
    • 5423639 build(deps): bump @​actions/core from 1.9.1 to 1.10.0 (#578)
    • c225631 build(deps): bump @​actions/github from 5.1.0 to 5.1.1 (#576)
    • b81d829 build(deps-dev): bump typescript from 4.8.3 to 4.8.4 (#577)
    • 5b682fd build(deps-dev): bump @​typescript-eslint/parser from 5.38.0 to 5.38.1 (#575)
    • 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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.50.0

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.50.0

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

    Release notes

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

    v1.50.0

    Changelog

    • 890a8265 Normalize exclude-rules paths for Windows (#2387)
    • db4955a3 build(deps): bump github.com/OpenPeeDeeP/depguard from 1.1.0 to 1.1.1 (#3186)
    • 937e3d40 build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234)
    • 40082da3 build(deps): bump github.com/daixiang0/gci from 0.6.3 to 0.7.0 (#3190)
    • c78bc230 build(deps): bump github.com/daixiang0/gci from 0.7.0 to 0.8.0 (#3241)
    • 28d70954 build(deps): bump github.com/go-critic/go-critic from 0.6.4 to 0.6.5 (#3150)
    • ff61ea9f build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.0 to 1.1.1 (#3208)
    • 0a581b3c build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.1 to 1.1.2 (#3243)
    • 0a94c369 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
    • 33a78c92 build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
    • d5dc2a19 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.2 to 1.0.3 (#3209)
    • ac95c85f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.3 to 1.0.4 (#3226)
    • b5203c38 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.4 to 1.0.5 (#3254)
    • 4189d1cc build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.13.0 to 1.14.0 (#3147)
    • 70d595e9 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
    • 1f155b7e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
    • d1dc9ae4 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.0 to 1.19.1 (#3242)
    • e3aa30f3 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20.0 (#3255)
    • 24f86dfd build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 (#3187)
    • 704109c6 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
    • 794f00c0 build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#3205)
    • 942e7e51 build(deps): bump github.com/sylvia7788/contextcheck from 1.0.6 to 1.0.8 (#3148)
    • ed47d7bf build(deps): bump github.com/sylvia7788/contextcheck from 1.0.8 to 1.0.9 (#3189)
    • 2019f766 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
    • 0d33a5ba cli: remove reference to old service (#3173)
    • 213fb565 contextcheck: change owner (#3198)
    • 8a3b754c exhaustive: add missing config (#3212)
    • febe5fdb feat: add linter dupword (#3192)
    • 281e1847 feat: add testableexamples linter (#3170)
    • 3a2ad908 feat: rename logrlint to loggercheck (#3144)
    • aba80c7f feat: update gofmt and goimports and add option "rewrite-rules" (#3174)
    • 091d2f43 interfacebloat: fix configuration loading (#3194)
    • 05c3af1a paralleltest: add tests of the ignore-missing option (#3233)
    • b1cec475 wsl: support all configs and update docs (#3202)

    v1.49.0

    Changelog

    • 69a49cf6 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.2 to 2.3.0 (#3122)
    • 9da04f50 build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
    • 1bb23af9 build(deps): bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 (#3123)
    • be10ef26 build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
    • 1ca9affe build(deps): bump github.com/mgechev/revive from 1.2.2 to 1.2.3 (#3091)
    • f78f6dd3 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.0 to 1.0.1 (#3092)
    • edeaa17f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.1 to 1.0.2 (#3097)
    • 14714050 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.10.0 to 1.13.0 (#3120)
    • 0e044f25 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.8.0 to 1.10.0 (#3090)
    • d57145d4 build(deps): bump github.com/securego/gosec/v2 from 2.12.0 to 2.13.1 (#3119)
    • a813244b build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.6 to 3.22.7 (#3074)

    ... (truncated)

    Changelog

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

    v1.50.0

    1. new linters
    2. updated linters
      • contextcheck: change owner
      • contextcheck: from 1.0.6 to 1.1.2
      • depguard: from 1.1.0 to 1.1.1
      • exhaustive: add missing config
      • exhaustive: from 0.8.1 to 0.8.3
      • gci: from 0.6.3 to 0.8.0
      • go-critic: from 0.6.4 to 0.6.5
      • go-errorlint: from 1.0.2 to 1.0.5
      • go-reassign: v0.1.2 to v0.2.0
      • gofmt: add option rewrite-rules
      • gofumpt from 0.3.1 to 0.4.0
      • goimports: update to HEAD
      • interfacebloat: fix configuration loading
      • logrlint: rename logrlint to loggercheck
      • paralleltest: add tests of the ignore-missing option
      • revive: from 1.2.3 to 1.2.4
      • usestdlibvars: from 1.13.0 to 1.20.0
      • wsl: support all configs and update docs
    3. misc.
      • Normalize exclude-rules paths for Windows
      • add riscv64 to the install script
    4. Documentation
      • cli: remove reference to old service

    v1.49.0

    IMPORTANT: varcheck and deadcode has been removed of default linters.

    1. new linters
    2. updated linters
      • go-colorable: from 0.1.12 to 0.1.13
      • go-critic: from 0.6.3 to 0.6.4
      • go-errorlint: from 1.0.0 to 1.0.2
      • go-exhaustruct: from 2.2.2 to 2.3.0
      • gopsutil: from 3.22.6 to 3.22.7
      • gosec: from 2.12.0 to 2.13.1
      • revive: from 1.2.1 to 1.2.3
      • usestdlibvars: from 1.8.0 to 1.13.0
      • contextcheck: from v1.0.4 to v1.0.6 && re-enable
      • nosnakecase: This linter is deprecated.
      • varcheck: This linter is deprecated use unused instead.

    ... (truncated)

    Commits
    • 704109c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
    • 80338b8 build(deps): bump eventsource and @​graphql-tools/url-loader in /docs (#3266)
    • 3fdd519 build(deps): bump gatsby-remark-autolink-headers from 5.15.1 to 5.24.0 in /do...
    • fad2e8c build(deps): bump gatsby-remark-copy-linked-files from 5.22.0 to 5.24.0 in /d...
    • 264ad7b build(deps): bump @​emotion/react from 11.9.0 to 11.10.4 in /docs (#3262)
    • c3627de build(deps): bump gatsby-plugin-offline from 5.19.0 to 5.24.0 in /docs (#3261)
    • ccebcf5 build(deps): bump gatsby-remark-responsive-iframe from 5.21.0 to 5.24.0 in /d...
    • 0a94c36 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
    • 2019f76 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
    • e3aa30f build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20...
    • 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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.49.0

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.49.0

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

    Release notes

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

    v1.49.0

    Changelog

    • 69a49cf6 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.2 to 2.3.0 (#3122)
    • 9da04f50 build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
    • 1bb23af9 build(deps): bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 (#3123)
    • be10ef26 build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
    • 1ca9affe build(deps): bump github.com/mgechev/revive from 1.2.2 to 1.2.3 (#3091)
    • f78f6dd3 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.0 to 1.0.1 (#3092)
    • edeaa17f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.1 to 1.0.2 (#3097)
    • 14714050 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.10.0 to 1.13.0 (#3120)
    • 0e044f25 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.8.0 to 1.10.0 (#3090)
    • d57145d4 build(deps): bump github.com/securego/gosec/v2 from 2.12.0 to 2.13.1 (#3119)
    • a813244b build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.6 to 3.22.7 (#3074)
    • cc2d97f3 contextcheck: bump to v1.0.6 && re-enable (#3102)
    • 63b2fe00 feat: add interfacebloat (#3024)
    • f48530e2 feat: add logrlint (#3093)
    • 58809c3b feat: add reassign linter (#3064)
    • 37d3aa43 feat: deprecate varcheck, deadcode, and structcheck (#3125)
    • da3b1496 fix: exit early on run --version (#3067)
    • 970b0a5b fix: set an explicit GOROOT in the Docker image for go-critic (#3106)
    • d4fd2db3 nosnakecase: deprecate linter (#3065)

    v1.48.0

    Changelog

    • 368c41cd build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (#3035)
    • 2d8fea81 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (#3058)
    • aeb5860c build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (#3059)
    • 0559b922 build(deps): bump revgrep to HEAD (#3054)
    • 6313fa9a contextcheck: disable linter (#3050)
    • 0ba1388a feat: add usestdlibvars (#3016)
    • 1557692e feat: go1.19 support (#3037)
    • 15cba447 gci: add missing custom-order setting (#3052)
    • 9a1b9492 ifshort: deprecate linter (#3034)
    • f8f8f9a6 nolint: drop allow-leading-space option and add "nolint:all" (#3002)

    v1.47.3

    Changelog

    • 72fc41ce build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
    • 57d61afb build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
    • 9cb17e4f build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
    • 2ab46788 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b113 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • e55f22c7 build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
    • c7ed8b67 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
    • 95d57d99 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • d186efe9 build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 846fab81 cgo: fix linters ignoring Cgo files (#3025)
    • d44cd49a feat: remove some go1.18 limitations (#3001)
    • 886fbd71 gci: fix panic with invalid configuration option (#3019)

    ... (truncated)

    Changelog

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

    v1.49.0

    IMPORTANT: varcheck and deadcode has been removed of default linters.

    1. new linters
    2. updated linters
      • go-colorable: from 0.1.12 to 0.1.13
      • go-critic: from 0.6.3 to 0.6.4
      • go-errorlint: from 1.0.0 to 1.0.2
      • go-exhaustruct: from 2.2.2 to 2.3.0
      • gopsutil: from 3.22.6 to 3.22.7
      • gosec: from 2.12.0 to 2.13.1
      • revive: from 1.2.1 to 1.2.3
      • usestdlibvars: from 1.8.0 to 1.13.0
      • contextcheck: from v1.0.4 to v1.0.6 && re-enable
      • nosnakecase: This linter is deprecated.
      • varcheck: This linter is deprecated use unused instead.
      • deadcode: This linter is deprecated use unused instead.
      • structcheck: This linter is deprecated use unused instead.
    3. documentation
      • revive: fix wrong URL
      • Add a section about default exclusions
      • usestdlibvars: fix typo in documentation
      • nolintlint: remove allow-leading-space option
      • Update documentation and assets
    4. misc.
      • dev: rewrite the internal tests framework
      • fix: exit early on run --version
      • fix: set an explicit GOROOT in the Docker image for go-critic

    v1.48.0

    1. new linters
    2. updated linters
      • contextcheck: disable linter
      • errcheck: from 1.6.1 to 1.6.2
      • gci: add missing custom-order setting
      • gci: from 0.5.0 to 0.6.0
      • ifshort: deprecate linter
      • nolint: drop allow-leading-space option and add "nolint:all"
      • revgrep: bump to HEAD
    3. documentation
      • remove outdated info on source install
    4. misc
      • go1.19 support

    ... (truncated)

    Commits

    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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.48.0

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.48.0

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

    Release notes

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

    v1.48.0

    Changelog

    • 368c41cd build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (#3035)
    • 2d8fea81 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (#3058)
    • aeb5860c build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (#3059)
    • 0559b922 build(deps): bump revgrep to HEAD (#3054)
    • 6313fa9a contextcheck: disable linter (#3050)
    • 0ba1388a feat: add usestdlibvars (#3016)
    • 1557692e feat: go1.19 support (#3037)
    • 15cba447 gci: add missing custom-order setting (#3052)
    • 9a1b9492 ifshort: deprecate linter (#3034)
    • f8f8f9a6 nolint: drop allow-leading-space option and add "nolint:all" (#3002)

    v1.47.3

    Changelog

    • 72fc41ce build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
    • 57d61afb build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
    • 9cb17e4f build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
    • 2ab46788 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b113 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • e55f22c7 build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
    • c7ed8b67 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
    • 95d57d99 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • d186efe9 build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 846fab81 cgo: fix linters ignoring Cgo files (#3025)
    • d44cd49a feat: remove some go1.18 limitations (#3001)
    • 886fbd71 gci: fix panic with invalid configuration option (#3019)

    v1.47.2

    Changelog

    • 61673b34 revive: ignore slow rules (#2999)

    v1.47.1

    Changelog

    • a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (#2992)
    • 4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (#2988)
    • 4e60e8a8 gci: fix options display (#2989)
    • fd87bd1e gci: remove the use of stdin (#2984)

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)

    ... (truncated)

    Changelog

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

    v1.48.0

    1. new linters
    2. updated linters
      • contextcheck: disable linter
      • errcheck: from 1.6.1 to 1.6.2
      • gci: add missing custom-order setting
      • gci: from 0.5.0 to 0.6.0
      • ifshort: deprecate linter
      • nolint: drop allow-leading-space option and add "nolint:all"
      • revgrep: bump to HEAD
    3. documentation
      • remove outdated info on source install
    4. misc
      • go1.19 support

    v1.47.3

    1. updated linters:
      • remove some go1.18 limitations
      • asasalint: from 0.0.10 to 0.0.11
      • decorder: from 0.2.2 to v0.2.3
      • gci: fix panic with invalid configuration option
      • gci: from 0.4.3 to v0.5.0
      • go-exhaustruct: from 2.2.0 to 2.2.2
      • gomodguard: from 1.2.3 to 1.2.4
      • nosnakecase: from 1.5.0 to 1.7.0
      • honnef.co/go/tools: from 0.3.2 to v0.3.3
    2. misc
      • cgo: fix linters ignoring CGo files

    v1.47.2

    1. updated linters:
      • revive: ignore slow rules

    v1.47.1

    1. updated linters:
      • gci: from 0.4.2 to 0.4.3
      • gci: remove the use of stdin
      • gci: fix options display
      • tenv: from 1.6.0 to 1.7.0
      • unparam: bump to HEAD

    v1.47.0

    1. new linters:

    ... (truncated)

    Commits

    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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.3

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.3

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

    Release notes

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

    v1.47.3

    Changelog

    • 72fc41ce build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
    • 57d61afb build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
    • 9cb17e4f build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
    • 2ab46788 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b113 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • e55f22c7 build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
    • c7ed8b67 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
    • 95d57d99 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • d186efe9 build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 846fab81 cgo: fix linters ignoring Cgo files (#3025)
    • d44cd49a feat: remove some go1.18 limitations (#3001)
    • 886fbd71 gci: fix panic with invalid configuration option (#3019)

    v1.47.2

    Changelog

    • 61673b34 revive: ignore slow rules (#2999)

    v1.47.1

    Changelog

    • a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (#2992)
    • 4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (#2988)
    • 4e60e8a8 gci: fix options display (#2989)
    • fd87bd1e gci: remove the use of stdin (#2984)

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 98c811d0 build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
    • 023e1c4f build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
    • 7fbb11ca build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
    • db5d58cd build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
    • f75b1a8b build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
    • 75be924e build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
    • 33f4aeeb build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
    • 6a412d3d build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
    • 97eea6ea build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
    • 3a0f646e build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
    • 92d7022d build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
    • 97d7415b build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
    • 0e3730d3 build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)

    ... (truncated)

    Changelog

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

    v1.47.3

    1. updated linters:
      • remove some go1.18 limitations
      • asasalint: from 0.0.10 to 0.0.11
      • decorder: from 0.2.2 to v0.2.3
      • gci: fix panic with invalid configuration option
      • gci: from 0.4.3 to v0.5.0
      • go-exhaustruct: from 2.2.0 to 2.2.2
      • gomodguard: from 1.2.3 to 1.2.4
      • nosnakecase: from 1.5.0 to 1.7.0
      • honnef.co/go/tools: from 0.3.2 to v0.3.3
    2. misc
      • cgo: fix linters ignoring CGo files

    v1.47.2

    1. updated linters:
      • revive: ignore slow rules

    v1.47.1

    1. updated linters:
      • gci: from 0.4.2 to 0.4.3
      • gci: remove the use of stdin
      • gci: fix options display
      • tenv: from 1.6.0 to 1.7.0
      • unparam: bump to HEAD

    v1.47.0

    1. new linters:
    2. updated linters:
      • decorder: from 0.2.1 to 0.2.2
      • errcheck: from 1.6.0 to 1.6.1
      • errname: from 0.1.6 to 0.1.7
      • exhaustive: from 0.7.11 to 0.8.1
      • gci: fix issues and re-enable autofix
      • gci: from 0.3.4 to 0.4.2
      • go-exhaustruct: from 2.1.0 to 2.2.0
      • go-ruleguard: from 0.3.19 to 0.3.21
      • gocognit: from 1.0.5 to 1.0.6
      • gocyclo: from 0.5.1 to 0.6.0
      • golang.org/x/tools: bump to HEAD
      • gosec: allow global config
      • gosec: from 2.11.0 to 2.12.0
      • nonamedreturns: from 1.0.1 to 1.0.4
      • paralleltest: from 1.0.3 to 1.0.6

    ... (truncated)

    Commits
    • d186efe build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 57d61af build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0...
    • 95d57d9 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • 2ab4678 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b11 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • cee90e3 docs: fix broken license link (#3028)
    • 846fab8 cgo: fix linters ignoring Cgo files (#3025)
    • 886fbd7 gci: fix panic with invalid configuration option (#3019)
    • d03608f doc: add Bytebase info the trusted-by page (#3013)
    • a9dc1ce dev: change format like function without args (#3012)
    • 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)
  • Bump golang.org/x/tools from 0.1.10 to 0.1.12

    Bump golang.org/x/tools from 0.1.10 to 0.1.12

    Bumps golang.org/x/tools from 0.1.10 to 0.1.12.

    Commits
    • b3b5c13 internal/lsp/cache: invalidate packages with missing deps when files are
    • 39a4e36 internal/lsp/regtest: only run /default tests with -short
    • f157068 internal/lsp/regtest: allow sharing memoized results across regtests
    • 8ccb25c internal/lsp: treat struct tags as string type
    • 6c8a6c4 internal/lsp: suppress parameter hint when argument matches parameter
    • c83f42d internal/lsp: update inlay hints documentation to include go snippets
    • 8b47d4e all: update dependencies
    • 7600454 gopls: update dependencies
    • 2a6393f internal/lsp: Refactor to share logic with rename
    • 4375b29 cmd/auth/cookieauth: delete unreachable os.Exit
    • 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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.2

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.2

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

    Release notes

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

    v1.47.2

    Changelog

    • 61673b34 revive: ignore slow rules (#2999)

    v1.47.1

    Changelog

    • a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (#2992)
    • 4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (#2988)
    • 4e60e8a8 gci: fix options display (#2989)
    • fd87bd1e gci: remove the use of stdin (#2984)

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 98c811d0 build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
    • 023e1c4f build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
    • 7fbb11ca build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
    • db5d58cd build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
    • f75b1a8b build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
    • 75be924e build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
    • 33f4aeeb build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
    • 6a412d3d build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
    • 97eea6ea build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
    • 3a0f646e build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
    • 92d7022d build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
    • 97d7415b build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
    • 0e3730d3 build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)
    • ac99dbcc build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 (#2908)
    • 8e0a6725 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.5 to 3.22.6 (#2959)
    • c8e38c4b build(deps): bump github.com/sivchari/tenv from 1.5.0 to 1.6.0 (#2927)
    • f70bf666 build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#2933)
    • 153b4072 build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#2889)
    • f03a5207 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#2917)
    • e33e63ed build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#2934)
    • 44e9b34d build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#2942)
    • bb5b6625 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#2957)
    • 2c30625c build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.1 to 2.6.2 (#2928)
    • 9317da6c build(deps): bump github.com/uudashr/gocognit from 1.0.5 to 1.0.6 (#2962)
    • 3071fecb build(deps): bump gitlab.com/bosi/decorder from 0.2.1 to 0.2.2 (#2943)
    • d92f144d build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#2876)
    • ddee31ae build(deps): bump honnef.co/go/tools from 0.3.1 to 0.3.2 (#2870)
    • 9ebc2d52 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)

    ... (truncated)

    Changelog

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

    v1.47.2

    1. updated linters:
      • revive: ignore slow rules

    v1.47.1

    1. updated linters:
      • gci: from 0.4.2 to 0.4.3
      • gci: remove the use of stdin
      • gci: fix options display
      • tenv: from 1.6.0 to 1.7.0
      • unparam: bump to HEAD

    v1.47.0

    1. new linters:
    2. updated linters:
      • decorder: from 0.2.1 to 0.2.2
      • errcheck: from 1.6.0 to 1.6.1
      • errname: from 0.1.6 to 0.1.7
      • exhaustive: from 0.7.11 to 0.8.1
      • gci: fix issues and re-enable autofix
      • gci: from 0.3.4 to 0.4.2
      • go-exhaustruct: from 2.1.0 to 2.2.0
      • go-ruleguard: from 0.3.19 to 0.3.21
      • gocognit: from 1.0.5 to 1.0.6
      • gocyclo: from 0.5.1 to 0.6.0
      • golang.org/x/tools: bump to HEAD
      • gosec: allow global config
      • gosec: from 2.11.0 to 2.12.0
      • nonamedreturns: from 1.0.1 to 1.0.4
      • paralleltest: from 1.0.3 to 1.0.6
      • staticcheck: fix generics
      • staticcheck: from 0.3.1 to 0.3.2
      • tenv: from 1.5.0 to 1.6.0
      • testpackage: from 1.0.1 to 1.1.0
      • thelper: from 0.6.2 to 0.6.3
      • wrapcheck: from 2.6.1 to 2.6.2
    3. documentation:
      • add thanks page
      • add a clear explanation about the staticcheck integration.
      • depguard: add ignore-file-rules
      • depguard: adjust phrasing
      • gocritic: add enable and disable ruleguard settings
      • gomnd: fix typo
      • gosec: add configs for all existing rules
      • govet: add settings for shadow and unusedresult

    ... (truncated)

    Commits

    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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.1

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.1

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

    Release notes

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

    v1.47.1

    Changelog

    • a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (#2992)
    • 4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (#2988)
    • 4e60e8a8 gci: fix options display (#2989)
    • fd87bd1e gci: remove the use of stdin (#2984)

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 98c811d0 build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
    • 023e1c4f build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
    • 7fbb11ca build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
    • db5d58cd build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
    • f75b1a8b build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
    • 75be924e build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
    • 33f4aeeb build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
    • 6a412d3d build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
    • 97eea6ea build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
    • 3a0f646e build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
    • 92d7022d build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
    • 97d7415b build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
    • 0e3730d3 build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)
    • ac99dbcc build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 (#2908)
    • 8e0a6725 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.5 to 3.22.6 (#2959)
    • c8e38c4b build(deps): bump github.com/sivchari/tenv from 1.5.0 to 1.6.0 (#2927)
    • f70bf666 build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#2933)
    • 153b4072 build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#2889)
    • f03a5207 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#2917)
    • e33e63ed build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#2934)
    • 44e9b34d build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#2942)
    • bb5b6625 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#2957)
    • 2c30625c build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.1 to 2.6.2 (#2928)
    • 9317da6c build(deps): bump github.com/uudashr/gocognit from 1.0.5 to 1.0.6 (#2962)
    • 3071fecb build(deps): bump gitlab.com/bosi/decorder from 0.2.1 to 0.2.2 (#2943)
    • d92f144d build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#2876)
    • ddee31ae build(deps): bump honnef.co/go/tools from 0.3.1 to 0.3.2 (#2870)
    • 9ebc2d52 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)
    • f9d81511 bump golang.org/x/tools to HEAD (#2875)
    • de7cc56e chore: remove reviewers from dependabot configuration (#2932)
    • 86bd8423 chore: spelling and grammar fixes (#2865)
    • 4b218e66 config: spread go version on linter's configurations (#2913)

    ... (truncated)

    Changelog

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

    v1.47.1

    1. updated linters:
      • gci: from 0.4.2 to 0.4.3
      • gci: remove the use of stdin
      • gci: fix options display
      • tenv: from 1.6.0 to 1.7.0
      • unparam: bump to HEAD

    v1.47.0

    1. new linters:
    2. updated linters:
      • errname: from 0.1.6 to 0.1.7
      • gci: from 0.3.4 to 0.4.2
      • nonamedreturns: from 1.0.1 to 1.0.4
      • gocyclo: from 0.5.1 to 0.6.0
      • go-exhaustruct: from 2.1.0 to 2.2.0
      • errcheck: from 1.6.0 to 1.6.1
      • thelper: from 0.6.2 to 0.6.3
      • paralleltest: from 1.0.3 to 1.0.6
      • testpackage: from 1.0.1 to 1.1.0
      • exhaustive: from 0.7.11 to 0.8.1
      • go-ruleguard: from 0.3.19 to 0.3.21
      • gosec: from 2.11.0 to 2.12.0
      • tenv: from 1.5.0 to 1.6.0
      • wrapcheck: from 2.6.1 to 2.6.2
      • gocognit: from 1.0.5 to 1.0.6
      • decorder: from 0.2.1 to 0.2.2
      • honnef.co/go/tools: from 0.3.1 to 0.3.2
      • golang.org/x/tools: bump to HEAD
      • gci: fix issues and re-enable autofix
      • gosec: allow global config
      • staticcheck: fix generics
    3. documentation:
      • add thanks page
      • add a clear explanation about the staticcheck integration.
      • depguard: add ignore-file-rules
      • depguard: adjust phrasing
      • gocritic: add enable and disable ruleguard settings
      • gomnd: fix typo
      • gosec: add configs for all existing rules
      • govet: add settings for shadow and unusedresult
      • thelper: add fuzz config and description
      • linters: add defaults

    v1.46.2

    ... (truncated)

    Commits

    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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.0

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.47.0

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

    Release notes

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

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 98c811d0 build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
    • 023e1c4f build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
    • 7fbb11ca build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
    • db5d58cd build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
    • f75b1a8b build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
    • 75be924e build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
    • 33f4aeeb build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
    • 6a412d3d build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
    • 97eea6ea build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
    • 3a0f646e build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
    • 92d7022d build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
    • 97d7415b build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
    • 0e3730d3 build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)
    • ac99dbcc build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 (#2908)
    • 8e0a6725 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.5 to 3.22.6 (#2959)
    • c8e38c4b build(deps): bump github.com/sivchari/tenv from 1.5.0 to 1.6.0 (#2927)
    • f70bf666 build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#2933)
    • 153b4072 build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#2889)
    • f03a5207 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#2917)
    • e33e63ed build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#2934)
    • 44e9b34d build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#2942)
    • bb5b6625 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#2957)
    • 2c30625c build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.1 to 2.6.2 (#2928)
    • 9317da6c build(deps): bump github.com/uudashr/gocognit from 1.0.5 to 1.0.6 (#2962)
    • 3071fecb build(deps): bump gitlab.com/bosi/decorder from 0.2.1 to 0.2.2 (#2943)
    • d92f144d build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#2876)
    • ddee31ae build(deps): bump honnef.co/go/tools from 0.3.1 to 0.3.2 (#2870)
    • 9ebc2d52 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)
    • f9d81511 bump golang.org/x/tools to HEAD (#2875)
    • de7cc56e chore: remove reviewers from dependabot configuration (#2932)
    • 86bd8423 chore: spelling and grammar fixes (#2865)
    • 4b218e66 config: spread go version on linter's configurations (#2913)
    • ae2a9688 depguard: adjust phrasing (#2921)
    • f2634d40 fix: codeQL scanning (#2882)
    • 2f41c1f0 gci: fix issues and re-enable autofix (#2892)
    • c531fc2a gosec: allow global config (#2880)
    • 0abb2981 staticcheck: fix generics (#2976)

    v1.46.2

    Changelog

    • a3336890 build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#2858)

    ... (truncated)

    Changelog

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

    v1.47.0

    1. new linters:
    2. updated linters:
      • errname: from 0.1.6 to 0.1.7
      • gci: from 0.3.4 to 0.4.2
      • nonamedreturns: from 1.0.1 to 1.0.4
      • gocyclo: from 0.5.1 to 0.6.0
      • go-exhaustruct: from 2.1.0 to 2.2.0
      • errcheck: from 1.6.0 to 1.6.1
      • thelper: from 0.6.2 to 0.6.3
      • paralleltest: from 1.0.3 to 1.0.6
      • testpackage: from 1.0.1 to 1.1.0
      • exhaustive: from 0.7.11 to 0.8.1
      • go-ruleguard: from 0.3.19 to 0.3.21
      • gosec: from 2.11.0 to 2.12.0
      • tenv: from 1.5.0 to 1.6.0
      • wrapcheck: from 2.6.1 to 2.6.2
      • gocognit: from 1.0.5 to 1.0.6
      • decorder: from 0.2.1 to 0.2.2
      • honnef.co/go/tools: from 0.3.1 to 0.3.2
      • golang.org/x/tools: bump to HEAD
      • gci: fix issues and re-enable autofix
      • gosec: allow global config
      • staticcheck: fix generics
    3. documentation:
      • add thanks page
      • add a clear explanation about the staticcheck integration.
      • depguard: add ignore-file-rules
      • depguard: adjust phrasing
      • gocritic: add enable and disable ruleguard settings
      • gomnd: fix typo
      • gosec: add configs for all existing rules
      • govet: add settings for shadow and unusedresult
      • thelper: add fuzz config and description
      • linters: add defaults

    v1.46.2

    1. updated linters:
      • execinquery: bump from v1.2.0 to v1.2.1
      • errorlint: bump to v1.0.0
      • thelper: allow to disable one option
    2. documentation:
      • rename .golangci.example.yml to .golangci.reference.yml
      • add containedctx linter to the list of available linters

    v1.46.1

    ... (truncated)

    Commits
    • b415402 Add linter asasalint to lint pass []any as any (#2968)
    • e60937a build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 27f921f dev: use directives instead of comments for tests (#2978)
    • 0abb298 staticcheck: fix generics (#2976)
    • d6a39ef dev: remove kortschak from generated team (#2974)
    • 5e18365 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • ed4befe dev: change err to nil (#2971)
    • 9ebc2d5 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)
    • b050b42 build(deps): bump moment from 2.29.2 to 2.29.4 in /docs (#2967)
    • b8f1e2a build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 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)
  • Bump golang.org/x/tools from 0.1.10 to 0.1.11

    Bump golang.org/x/tools from 0.1.10 to 0.1.11

    Bumps golang.org/x/tools from 0.1.10 to 0.1.11.

    Commits
    • 1d19788 internal/lsp/cache: always compute IsIntermediateTestVariant
    • 4a8620f internal/lsp/cache: move metadata fields to a new metadataGraph type
    • a3d129c internal/lsp/cache: extract module load errors when go.work is used
    • 6bfd3a4 Revert "internal: temporarily disable tests so we can land CL 410955"
    • 5ca4cc8 internal: temporarily disable tests so we can land CL 410955
    • 63dfc2d internal/lsp/cache: two minor optimizations
    • 030812f internal: remove unneeded FileSets
    • 2417911 go/analysis/internal/checker: add -test flag for single/multi-checkers
    • 43cce67 go/analysis: document need for deterministic Fact encoding
    • af82757 cmd/callgraph: add test of -algo=vta
    • 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)
  • Bump golang.org/x/tools from 0.1.10 to 0.4.0

    Bump golang.org/x/tools from 0.1.10 to 0.4.0

    Bumps golang.org/x/tools from 0.1.10 to 0.4.0.

    Release notes

    Sourced from golang.org/x/tools's releases.

    gopls/v0.4.0

    • Improved support for working with modules (@​ridersofrohan). A detailed walk-through of the new features can be found here. A quick summary:
      • Use the -modfile flag to suggest which modules should be added/removed from the go.mod file, rather than editing it automatically.
      • Suggest dependency upgrades in-editor and provide additional language features, such as formatting, for the go.mod file.
    • Inverse implementations (@​muirdm). "Go to implementations" on a concrete type will show the interfaces it implements.
    • Completion improvements (@​muirdm). Specifically, improved completion for keywords. Also, offer if err != nil { return err } as a completion item.
    • Jumping to definition on an import statement returns all files as definition locations (@​danishprakash).
    • Support for running go generate through the editor, via a code lens (@​marwan-at-work).
    • Command-line support for workspace symbols (@​daisuzu).

    Opt-in:

    • Code actions suggesting gofmt -s-style simplifications (@​ridersofrohan). To get these on-save, add the following setting:
    "[go]": {
    	"editor.codeActionsOnSave": {
    		"source.fixAll": true,
    	}
    }
    
    • Code actions suggesting fixes for type errors, such as missing return values (goreturns-style), undeclared names, unused parameters, and assignment statements that should be converted from := to = (@​ridersofrohan). Add the following to your gopls settings to opt-in to these analyzers. In the future, they will be on by default and high-confidence suggested fixes may be applied on save. See additional documentation on analyzers here.
    "gopls": {
    	"analyses": {
    		"fillreturns": true,
                    "undeclaredname": true,
                    "unusedparams": true,
                    "nonewvars": true,
    	}
    }
    
    • Further improvements in the support for multiple concurrent clients (@​findleyr). See #34111 for all details.

    For a complete list of the issues resolved, see the gopls/v0.4.0 milestone.

    gopls/v0.3.4

    gopls/v0.3.3

    • Support for workspace symbols. (@​daisuzu)
    • Various completion improvements, including fixes for completion in code that doesn't parse. (@​muirdm)
    • Limit diagnostic concurrency, preventing huge spikes in memory usage that some users encountered. (@​heschik)
    • Improved handling for URIs containing escaped characters. (@​heschik)
    • Module versions from "go list" in pkg.go.dev links. (@​ridersofrohan)

    ... (truncated)

    Commits
    • aee3994 gopls/internal/lsp/fake: in (*Workdir).RenameFile, fall back to read + write
    • fe60148 go.mod: update golang.org/x dependencies
    • c9ea9a7 gopls/internal/regtest: add a test for the case when the renaming package's p...
    • bf5db81 gopls/internal/lsp/cache: improve ad-hoc warning for nested modules
    • aa9f4b2 go/analysis: document that facts are gob encoded in one gulp
    • bdcd082 internal/gcimporter: skip tests earlier when 'go build' is not available
    • 2ad6325 gopls/internal/lsp/cache: expand ImportPath!=PackagePath comment
    • 52c7b88 gopls/internal/robustio: only define ERROR_SHARING_VIOLATION on Windows
    • 4f69bf3 gopls/internal/lsp/cache: narrow reloadOrphanedFiles to open files
    • 6002d6e gopls/internal/regtest/misc: test Implementations + vendor
    • 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)
  • Bump golangci/golangci-lint-action from 3.1.0 to 3.3.1

    Bump golangci/golangci-lint-action from 3.1.0 to 3.3.1

    Bumps golangci/golangci-lint-action from 3.1.0 to 3.3.1.

    Release notes

    Sourced from golangci/golangci-lint-action's releases.

    v3.3.1

    What's Changed

    Full Changelog: https://github.com/golangci/golangci-lint-action/compare/v3...v3.3.1

    v3.3.0

    What's Changed

    ... (truncated)

    Commits
    • 0ad9a09 build(deps-dev): bump @​typescript-eslint/parser from 5.41.0 to 5.42.0 (#599)
    • 235ea57 build(deps-dev): bump eslint from 8.26.0 to 8.27.0 (#598)
    • a6ed001 build(deps-dev): bump @​typescript-eslint/eslint-plugin from 5.41.0 to 5.42.0 ...
    • 3a7156a build(deps-dev): bump @​typescript-eslint/parser from 5.40.1 to 5.41.0 (#596)
    • 481f8ba build(deps): bump @​types/semver from 7.3.12 to 7.3.13 (#595)
    • 06edb37 build(deps-dev): bump @​typescript-eslint/eslint-plugin from 5.40.1 to 5.41.0 ...
    • c2f79a7 build(deps): bump @​actions/cache from 3.0.5 to 3.0.6 (#593)
    • d6eac69 build(deps-dev): bump @​typescript-eslint/eslint-plugin from 5.40.0 to 5.40.1 ...
    • 7268434 build(deps-dev): bump eslint from 8.25.0 to 8.26.0 (#591)
    • a926e2b build(deps-dev): bump @​typescript-eslint/parser from 5.40.0 to 5.40.1 (#590)
    • 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)
  • Bump github.com/golangci/golangci-lint from 1.45.2 to 1.50.1

    Bump github.com/golangci/golangci-lint from 1.45.2 to 1.50.1

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

    Release notes

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

    v1.50.1

    Changelog

    • bd7edf31 build(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 (#3310)
    • 8926a95f build(deps): bump github.com/daixiang0/gci from 0.8.0 to 0.8.1 (#3309)
    • 98df0492 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.2 to 1.1.3 (#3296)
    • a760cb12 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#3298)
    • 2823ec62 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.2 to 2.7.0 (#3287)
    • 0793063c build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.5.0 to 2.5.1 (#3295)
    • 046dce3a build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0 (#3312)
    • 2fa3b6f8 chore: update go.mod for gen_github_action_config script (#3300)
    • 6740559b code-climate: add default severity (#3294)
    • d03294f2 fix: remove redundant character escape '/' (#3278)
    • 8a1cf904 lll: skip imports (#3288)
    • 5ef7b413 revive: fix configuration parsing (#3284)

    v1.50.0

    Changelog

    • 890a8265 Normalize exclude-rules paths for Windows (#2387)
    • db4955a3 build(deps): bump github.com/OpenPeeDeeP/depguard from 1.1.0 to 1.1.1 (#3186)
    • 937e3d40 build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234)
    • 40082da3 build(deps): bump github.com/daixiang0/gci from 0.6.3 to 0.7.0 (#3190)
    • c78bc230 build(deps): bump github.com/daixiang0/gci from 0.7.0 to 0.8.0 (#3241)
    • 28d70954 build(deps): bump github.com/go-critic/go-critic from 0.6.4 to 0.6.5 (#3150)
    • ff61ea9f build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.0 to 1.1.1 (#3208)
    • 0a581b3c build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.1 to 1.1.2 (#3243)
    • 0a94c369 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
    • 33a78c92 build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
    • d5dc2a19 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.2 to 1.0.3 (#3209)
    • ac95c85f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.3 to 1.0.4 (#3226)
    • b5203c38 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.4 to 1.0.5 (#3254)
    • 4189d1cc build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.13.0 to 1.14.0 (#3147)
    • 70d595e9 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
    • 1f155b7e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
    • d1dc9ae4 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.0 to 1.19.1 (#3242)
    • e3aa30f3 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20.0 (#3255)
    • 24f86dfd build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 (#3187)
    • 704109c6 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
    • 794f00c0 build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#3205)
    • 942e7e51 build(deps): bump github.com/sylvia7788/contextcheck from 1.0.6 to 1.0.8 (#3148)
    • ed47d7bf build(deps): bump github.com/sylvia7788/contextcheck from 1.0.8 to 1.0.9 (#3189)
    • 2019f766 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
    • 0d33a5ba cli: remove reference to old service (#3173)
    • 213fb565 contextcheck: change owner (#3198)
    • 8a3b754c exhaustive: add missing config (#3212)
    • febe5fdb feat: add linter dupword (#3192)
    • 281e1847 feat: add testableexamples linter (#3170)
    • 3a2ad908 feat: rename logrlint to loggercheck (#3144)
    • aba80c7f feat: update gofmt and goimports and add option "rewrite-rules" (#3174)
    • 091d2f43 interfacebloat: fix configuration loading (#3194)
    • 05c3af1a paralleltest: add tests of the ignore-missing option (#3233)

    ... (truncated)

    Changelog

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

    v1.50.1

    1. updated linters
      • contextcheck: from 1.1.2 to 1.1.3
      • go-mnd: from 2.5.0 to 2.5.1
      • wrapcheck: from 2.6.2 to 2.7.0
      • revive: fix configuration parsing
      • lll: skip imports
    2. misc.
      • windows: remove redundant character escape '/'
      • code-climate: add default severity

    v1.50.0

    1. new linters
    2. updated linters
      • contextcheck: change owner
      • contextcheck: from 1.0.6 to 1.1.2
      • depguard: from 1.1.0 to 1.1.1
      • exhaustive: add missing config
      • exhaustive: from 0.8.1 to 0.8.3
      • gci: from 0.6.3 to 0.8.0
      • go-critic: from 0.6.4 to 0.6.5
      • go-errorlint: from 1.0.2 to 1.0.5
      • go-reassign: v0.1.2 to v0.2.0
      • gofmt: add option rewrite-rules
      • gofumpt from 0.3.1 to 0.4.0
      • goimports: update to HEAD
      • interfacebloat: fix configuration loading
      • logrlint: rename logrlint to loggercheck
      • paralleltest: add tests of the ignore-missing option
      • revive: from 1.2.3 to 1.2.4
      • usestdlibvars: from 1.13.0 to 1.20.0
      • wsl: support all configs and update docs
    3. misc.
      • Normalize exclude-rules paths for Windows
      • add riscv64 to the install script
    4. Documentation
      • cli: remove reference to old service

    v1.49.0

    IMPORTANT: varcheck and deadcode has been removed of default linters.

    1. new linters

    ... (truncated)

    Commits
    • 8926a95 build(deps): bump github.com/daixiang0/gci from 0.8.0 to 0.8.1 (#3309)
    • 046dce3 build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0 (#3312)
    • bd7edf3 build(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 (#3310)
    • 6740559 code-climate: add default severity (#3294)
    • c1e24c1 doc: improved wording (#3302)
    • 9a592fb build(deps): bump parse-url and gatsby-telemetry in /docs (#3306)
    • 98df049 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.2 to 1.1.3 (#3296)
    • 0793063 build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.5.0 to 2.5.1 (#3295)
    • 2fa3b6f chore: update go.mod for gen_github_action_config script (#3300)
    • a760cb1 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#3298)
    • 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)
  • Bump actions/setup-python from 3 to 4.1.0

    Bump actions/setup-python from 3 to 4.1.0

    Bumps actions/setup-python from 3 to 4.1.0.

    Release notes

    Sourced from actions/setup-python's releases.

    v4.1.0

    In scope of this pull request we updated actions/cache package as the new version contains fixes for caching error handling. Moreover, we added a new input update-environment. This option allows to specify if the action shall update environment variables (default) or not.

    Update-environment input

        - name: setup-python 3.9
          uses: actions/setup-python@v4
          with:
            python-version: 3.9
            update-environment: false
    

    Besides, we added such changes as:

    v4.0.0

    What's Changed

    • Support for python-version-file input: #336

    Example of usage:

    - uses: actions/setup-python@v4
      with:
        python-version-file: '.python-version' # Read python version from a file
    - run: python my_script.py
    

    There is no default python version for this setup-python major version, the action requires to specify either python-version input or python-version-file input. If the python-version input is not specified the action will try to read required version from file from python-version-file input.

    • Use pypyX.Y for PyPy python-version input: #349

    Example of usage:

    - uses: actions/setup-python@v4
      with:
        python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility
    - run: python my_script.py
    
    • RUNNER_TOOL_CACHE environment variable is equal AGENT_TOOLSDIRECTORY: #338

    • Bugfix: create missing pypyX.Y symlinks: #347

    • PKG_CONFIG_PATH environment variable: #400

    • Added python-path output: #405

    ... (truncated)

    Commits
    • c4e89fa Improve readme for 3.x and 3.11-dev style python-version (#441)
    • 0ad0f6a Merge pull request #452 from mayeut/fix-env
    • f0bcf8b Merge pull request #456 from akx/patch-1
    • af97157 doc: Add multiple wildcards example to readme
    • 364e819 Merge pull request #394 from akv-platform/v-sedoli/set-env-by-default
    • 782f81b Merge pull request #450 from IvanZosimov/ResolveVersionFix
    • 2c9de4e Remove duplicate code introduced in #440
    • 412091c Fix tests for update-environment==false
    • 78a2330 Merge pull request #451 from dmitry-shibanov/fx-pipenv-python-version
    • 96f494e trigger checks
    • 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)
Run linters from Go code -

Lint - run linters from Go Lint makes it easy to run linters from Go code. This allows lint checks to be part of a regular go build + go test workflow

Sep 27, 2022
Fast linters Runner for Go
Fast linters Runner for Go

golangci-lint Fast linters runner for Go golangci-lint is a fast Go linters runner. It runs linters in parallel, uses caching, supports yaml config, h

Jan 8, 2023
Custom linters

Raftt Raftt linters This package contains Go linters for use in Raftt projects. Linters discardedreturn This linter checks for discarded return values

Dec 5, 2021
Run linters from Go code -

Lint - run linters from Go Lint makes it easy to run linters from Go code. This allows lint checks to be part of a regular go build + go test workflow

Sep 27, 2022
A simple terminal UI for Go linters
A simple terminal UI for Go linters

golintui golintui is a TUI tool that helps you run various kinds of linters with ease and organize its results, with the power of golangci-lint. Cool

Jun 9, 2022
Fast linters Runner for Go
Fast linters Runner for Go

golangci-lint Fast linters runner for Go golangci-lint is a fast Go linters runner. It runs linters in parallel, uses caching, supports yaml config, h

Jan 8, 2023
BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support

BuntDB is a low-level, in-memory, key/value store in pure Go. It persists to disk, is ACID compliant, and uses locking for multiple readers and a sing

Dec 30, 2022
Martian is a library for building custom HTTP/S proxies

Martian Proxy Martian Proxy is a programmable HTTP proxy designed to be used for testing. Martian is a great tool to use if you want to: Verify that a

Dec 31, 2022
Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection

fastjson - fast JSON parser and validator for Go Features Fast. As usual, up to 15x faster than the standard encoding/json. See benchmarks. Parses arb

Jan 5, 2023
🚀Gev is a lightweight, fast non-blocking TCP network library based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.
🚀Gev is a lightweight, fast non-blocking TCP network library based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.

gev 中文 | English gev is a lightweight, fast non-blocking TCP network library based on Reactor mode. Support custom protocols to quickly and easily bui

Jan 6, 2023
A TCP Server Framework with graceful shutdown, custom protocol.

xtcp A TCP Server Framework with graceful shutdown,custom protocol. Usage Define your protocol format: Before create server and client, you need defin

Dec 7, 2022
Simple logger for Go programs. Allows custom formats for messages.
Simple logger for Go programs. Allows custom formats for messages.

go-logger A simple go logger for easy logging in your programs. Allows setting custom format for messages. Preview Install go get github.com/apsdehal/

Dec 17, 2022
:exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions

Package assert Package assert is a Basic Assertion library used along side native go testing Installation Use go get. go get github.com/go-playground/

Jan 6, 2023
Redcon is a custom Redis server framework for Go that is fast and simple to use.
Redcon is a custom Redis server framework for Go that is fast and simple to use.

Redcon is a custom Redis server framework for Go that is fast and simple to use. The reason for this library it to give an efficient server front-end for the BuntDB and Tile38 projects.

Dec 28, 2022
A Go (golang) Custom Flutter Engine Embedder for desktop
A Go (golang) Custom Flutter Engine Embedder for desktop

Go Flutter desktop embedder ⚠️ Warning: this project has been moved to its own organization. Please take a look at its new location: github.com/go-flu

Jul 23, 2022
Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.

sessions gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends. The key features are: Simple API: us

Dec 28, 2022
A powerful, custom error package for Go

custom-error-go A powerful, custom error package for Go Detailed explanation: https://medium.com/codealchemist/error-handling-in-go-made-more-powerful

Apr 19, 2022
M3U generator for Stirr, optimized for Channels' custom channels.
M3U generator for Stirr, optimized for Channels' custom channels.

Stirr for Channels This simple Docker image will generate an M3U playlist and EPG optimized for use in Channels and expose them over HTTP. Channels su

Oct 7, 2022
logical is tool for synchronizing from PostgreSQL to custom handler through replication slot

logical logical is tool for synchronizing from PostgreSQL to custom handler through replication slot Required Postgresql 10.0+ Howto Download Choose t

Sep 2, 2022
⚗ The most advanced CLI template on earth! Featuring automatic releases, website generation and a custom CI-System out of the box.
⚗ The most advanced CLI template on earth! Featuring automatic releases, website generation and a custom CI-System out of the box.

cli-template ✨ ⚗ A template for beautiful, modern, cross-platform compatible CLI tools written with Go! Getting Started | Wiki This template features

Dec 4, 2022