-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add tenv linter #2221
add tenv linter #2221
Conversation
Does it check the version from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current implementation produces too many false-positive, the linter must be improved.
@butuzov |
@ldez may I ask you to share the false positive you found when you have a moment? |
Maybe it's better to parse mod file to see if it require go.1.17 (see type |
I recommend checking how the other linters (ex: staticcheck) handle that. Note: |
2f08e04
to
ad5bb81
Compare
I've fixed |
170a8bb
to
bf30330
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel that os.Setenv in places where *testing.T cannot be referenced should not be warned by default.
Why do you think that ? Please tell me reason. package main_test
import (
"os"
"testing"
)
var env string
func setup() {
env = os.Getenv("a")
os.Setenv("a", "b")
}
func cleanup() {
os.Setenv("a", env)
}
func TestF(t *testing.T) {
setup()
// do something ...
t.Cleanup(cleanup)
} What do you think ? |
The following is based on my experience. I don't know if it applies to all Gophers. The refactoring is probably
The first step is changing the function signatures, which can be painful at times. If the default warning is only for the case that can reference *testing.T, user probably don't need to change the function signatures so it's probably not too difficult. |
This linter would rather have that refactoring as one of its goals. Also, one of the motivations for using tenv is to change things that don't use testing.* So the pain you mentioned is the right one, and changing this function signature is probably not difficult because it only in the test file. |
By the way, tenv seems to target only *_test.go. |
Yes, it's intentional. It depends on the product whether you want to get the environment variables for testing in other packages. Therefore, considering that this linter will support many methods, it's a proportionally large number of false-positive will be generated. We can also determine by package name, but in Go, the _test suffix is just whether to include it in the build or not, so this is also not practical. However, the file name _test.go is a naming convention, so we use this method. |
I agree with @johejo that the linter should report problems only on functions that use |
b386e5c
to
6837e6a
Compare
I update check range and add all option. |
6837e6a
to
2ead64d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The report messages can be improved, instead of func TestF is not using testing.Setenv
I suggest this:
# the name of the variable (`t`, `b`, `tb`) can be used in the majority of the cases
os.Setenv() can be replaced by `t.Setenv()` in <Method/Function name>
os.Setenv() can be replaced by `b.Setenv()` in <Method/Function name>
os.Setenv() can be replaced by `tb.Setenv()` in <Method/Function name>
os.Setenv() can be replaced by `testing.Setenv()` in <Method/Function name>
I created a sample (2 files) with comments to explain what is for me the expected behavior of this linter:
foo.go
package sandbox
import (
"os"
"testing"
)
// never reported
var errF = os.Setenv("Foo", "bar")
func Foo() {
// never reported
os.Setenv("Foo", "bar")
}
func Bar(t *testing.T) {
// reported by default (signature based)
os.Setenv("Foo", "bar")
}
func Bor(b *testing.B) {
// reported by default (signature based)
os.Setenv("Foo", "bar")
}
func Bur(tb testing.TB) {
// reported by default (signature based)
os.Setenv("Foo", "bar")
}
foo_test.go
package sandbox
import (
"os"
"testing"
)
// never reported
var fii = os.Setenv("Foo", "bar")
func foo() {
// reported only with the option "all" enabled
os.Setenv("Foo", "bar")
}
func TestMain(m *testing.M) {
// never report `TestMain(m *testing.M)` functions
os.Setenv("Foo", "bar")
os.Exit(m.Run())
}
func TestName(t *testing.T) {
// reported by default (signature based)
os.Setenv("Foo", "bar")
}
func BenchmarkName(b *testing.B) {
// reported by default (signature based)
os.Setenv("Foo", "bar")
for i := 0; i < b.N; i++ {
b.Name()
}
}
Error: analysistest.go:448: a/a_test.go:23:2: diagnostic "os.Setenv() can be replaced by `t.Setenv()` in TestF" does not match pattern "os.Setenv() can be replaced by `t.Setenv()` in TestF"
Error: analysistest.go:448: a/a_test.go:24:2: diagnostic "os.Setenv() can be replaced by `t.Setenv()` in TestF" does not match pattern "os.Setenv() can be replaced by `t.Setenv()` in TestF"
Error: analysistest.go:448: a/a_test.go:31:2: diagnostic "os.Setenv() can be replaced by `b.Setenv()` in BenchmarkF" does not match pattern "os.Setenv() can be replaced by `b.Setenv()` in BenchmarkF"
Error: analysistest.go:448: a/a_test.go:32:2: diagnostic "os.Setenv() can be replaced by `b.Setenv()` in BenchmarkF" does not match pattern "os.Setenv() can be replaced by `b.Setenv()` in BenchmarkF"
Error: analysistest.go:448: a/a_test.go:38:2: diagnostic "os.Setenv() can be replaced by `tb.Setenv()` in testTB" does not match pattern "os.Setenv() can be replaced by `tb.Setenv()` in testTB"
Error: analysistest.go:512: a/a_test.go:23: no diagnostic was reported matching "os.Setenv() can be replaced by `t.Setenv()` in TestF"
Error: analysistest.go:512: a/a_test.go:24: no diagnostic was reported matching "os.Setenv() can be replaced by `t.Setenv()` in TestF"
Error: analysistest.go:512: a/a_test.go:31: no diagnostic was reported matching "os.Setenv() can be replaced by `b.Setenv()` in BenchmarkF"
Error: analysistest.go:512: a/a_test.go:32: no diagnostic was reported matching "os.Setenv() can be replaced by `b.Setenv()` in BenchmarkF"
Error: analysistest.go:512: a/a_test.go:38: no diagnostic was reported matching "os.Setenv() can be replaced by `tb.Setenv()` in testTB" detail: sivchari/tenv#12 if you have a time, please teach me that why this test is failed. |
Please re-read my message there are 2 files: |
sorry, I fixed it. |
dee17a6
to
4cff690
Compare
4cff690
to
5489b92
Compare
* nlreturn: add block-size option (golangci#2237) * build(deps): bump github.com/butuzov/ireturn from 0.1.0 to 0.1.1 (golangci#2246) Bumps [github.com/butuzov/ireturn](https://github.com/butuzov/ireturn) from 0.1.0 to 0.1.1. - [Release notes](https://github.com/butuzov/ireturn/releases) - [Changelog](https://github.com/butuzov/ireturn/blob/main/.goreleaser.yaml) - [Commits](butuzov/ireturn@v0.1.0...v0.1.1) --- updated-dependencies: - dependency-name: github.com/butuzov/ireturn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 (golangci#2243) * build(deps): bump tmpl from 1.0.4 to 1.0.5 in /.github/peril (golangci#2247) * build(deps): bump github.com/kunwardeep/paralleltest from 1.0.2 to 1.0.3 (golangci#2244) * build(deps): bump github.com/tetafro/godot from 1.4.10 to 1.4.11 (golangci#2248) * build(deps): bump github.com/Antonboom/errname from 0.1.4 to 0.1.5 (golangci#2249) * build(deps): bump golang.org/x/tools from 0.1.5 to 0.1.6 (golangci#2245) * build(deps): bump github.com/valyala/quicktemplate from 1.6.3 to 1.7.0 (golangci#2250) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/mattn/go-colorable from 0.1.8 to 0.1.9 (golangci#2252) Co-authored-by: Fernandez Ludovic <[email protected]> * Add tenv linter (golangci#2221) * build(deps): bump github.com/fatih/color from 1.12.0 to 1.13.0 (golangci#2259) * build(deps): bump github.com/mattn/go-colorable from 0.1.9 to 0.1.10 (golangci#2260) * fix: go.sum (golangci#2262) * new-from-rev: add support for finding issues in entire files in a diff (golangci#2264) * build(deps): bump gatsby-plugin-robots-txt from 1.6.9 to 1.6.10 in /docs (golangci#2269) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2265) * build(deps): bump gatsby-plugin-mdx from 2.13.0 to 2.14.0 in /docs (golangci#2267) * build(deps): bump puppeteer from 10.2.0 to 10.4.0 in /docs (golangci#2266) * build(deps): bump gatsby-plugin-offline from 4.13.0 to 4.14.0 in /docs (golangci#2270) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2272) * build(deps): bump gatsby-plugin-sitemap from 4.9.0 to 4.10.0 in /docs (golangci#2271) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 4.9.0 to 4.10.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.8 to 3.21.9 (golangci#2275) * build(deps): bump github.com/mgechev/revive from 1.1.1 to 1.1.2 (golangci#2276) * build(deps): bump github.com/mattn/go-colorable from 0.1.10 to 0.1.11 (golangci#2277) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.0 to 2.3.1 (golangci#2278) * feat: add contextcheck linter (golangci#2216) * build(deps): bump github.com/charithe/durationcheck from 0.0.8 to 0.0.9 (golangci#2289) Bumps [github.com/charithe/durationcheck](https://github.com/charithe/durationcheck) from 0.0.8 to 0.0.9. - [Release notes](https://github.com/charithe/durationcheck/releases) - [Commits](charithe/durationcheck@v0.0.8...v0.0.9) --- updated-dependencies: - dependency-name: github.com/charithe/durationcheck dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/securego/gosec/v2 from 2.8.1 to 2.9.1 (golangci#2299) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 (golangci#2041) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/esimonov/ifshort from 1.0.2 to 1.0.3 (golangci#2303) * Add code comments to document source code (golangci#2306) * errcheck: empty selector name. (golangci#2309) * add varnamelen linter (golangci#2240) * gosec: filter issues according to the severity and confidence (golangci#2295) * Bump gochecknoglobals to v0.1.0 (golangci#2317) * dev: replace ioutil with io and os (golangci#2318) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.3.1 to 2.4.0 (golangci#2324) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.9 to 3.21.10 (golangci#2327) * build(deps): bump gatsby-plugin-offline from 4.14.0 to 5.0.0 in /docs (golangci#2322) * build(deps): bump gatsby-plugin-react-svg from 3.0.1 to 3.1.0 in /docs (golangci#2323) * build(deps): bump github.com/jingyugao/rowserrcheck from 1.1.0 to 1.1.1 (golangci#2326) * build(deps): bump github.com/nakabonne/nestif from 0.3.0 to 0.3.1 (golangci#2325) Co-authored-by: Fernandez Ludovic <[email protected]> * docs: clarify nolintlint.allow-unused (golangci#2319) * build(deps): bump gatsby-plugin-sitemap from 4.10.0 to 5.0.0 in /docs (golangci#2320) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 4.10.0 to 5.0.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/[email protected]/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump react-headroom from 3.1.1 to 3.2.0 in /docs (golangci#2333) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2321) * build(deps): bump react-icons from 4.2.0 to 4.3.1 in /docs (golangci#2334) * build(deps): bump @emotion/react from 11.4.1 to 11.5.0 in /docs (golangci#2331) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2335) * build(deps): bump gatsby-plugin-robots-txt in /docs (golangci#2332) * fix: Add missing space in "disabled by config" warning (golangci#2310) Before this change, the message said "However, as this checkis disabled by default". * codeql: Remove unneeded steps (golangci#2336) Remove executing build and test, there is a special workflow for this and CodeQL does not require running any go code or building the app Remove `git checkout HEAD^2`, not needed anymore: Warning: 1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results. Add permission to write the security events * fix: don't hide enable-all option (golangci#2338) * Refactor: preallocate slices (golangci#2340) * docs: change Github to GitHub in comments and docs (golangci#2341) * gocritic: add support for variable substitution in ruleguard path settings (golangci#2308) * Add variable for ruleguard config directory * Add variable for ruleguard config directory * Add variable for ruleguard config directory * Add variable for ruleguard config directory * Add unit tests * Add unit tests for ruleguard * Add unit tests for ruleguard * Add unit tests for ruleguard * Add unit tests for ruleguard, fix package name * docs: add documentation for go-critic and ruleguard settings (golangci#2304) * Add github.com/breml/bidichk linter (golangci#2330) * docs: Update documentation and assets (golangci#2342) Co-authored-by: Fernandez Ludovic <[email protected]> * exhaustive: upgrade to v0.3.6; add new flags and deprecate old ones (golangci#2344) * bump varnamelen to v0.4.0 (golangci#2348) * bump bidichk from v0.1.1 to v0.2.0 * docs: fix a typo and a syntax error in architecture.mdx (golangci#2351) * build(deps): bump github.com/breml/bidichk from 0.2.0 to 0.2.1 (golangci#2354) * build(deps): bump github.com/nishanths/exhaustive from 0.3.6 to 0.6.0 (golangci#2353) Co-authored-by: Fernandez Ludovic <[email protected]> * docs: fix grammar issues in comments (golangci#2352) * fix: reduce flaky in the CI and clean the .golangci.yml of the project (golangci#2359) * fix: clean linter configuration * fix: minor changes * fix: increase timeout * Ensure that the Issues key in JSON format is a list (golangci#2358) This makes the data more consistent and easier to use with other tools. For example, a third-party tool can iterate over `Issues` without having to make a preliminary null check. * Show deprecated mark in the CLI linters help (golangci#2350) * Show deprecated mark in linters list * fix output deprecated mark in linters list * docs: fix wrong default value in comment (golangci#2360) * dev: reused exit codes (golangci#2364) * dev: clean up and used iota for exit codes (golangci#2366) * bump varnamelen from v0.4.0 to v0.5.0 (golangci#2369) * build(deps): bump honnef.co/go/tools from 0.2.1 to 0.2.2 (golangci#2370) * build(deps): bump github.com/securego/gosec/v2 from 2.9.1 to 2.9.2 (golangci#2372) * build(deps): bump mvdan.cc/gofumpt from 0.1.1 to 0.2.0 (golangci#2373) * build(deps): bump github.com/nishanths/exhaustive from 0.6.0 to 0.7.11 (golangci#2371) Co-authored-by: Fernandez Ludovic <[email protected]> * Add errchkjson linter (golangci#2362) * wrapcheck: update configuration to include ignoreSignRegexps (golangci#2379) * build(deps): bump actions/cache from 2.1.6 to 2.1.7 (golangci#2383) * build(deps): bump github.com/mattn/go-colorable from 0.1.11 to 0.1.12 (golangci#2384) * build(deps): bump github.com/securego/gosec/v2 from 2.9.2 to 2.9.3 (golangci#2385) * build(deps): bump @emotion/react from 11.5.0 to 11.7.0 in /docs (golangci#2389) * build(deps): bump gatsby-plugin-offline from 5.0.0 to 5.3.0 in /docs (golangci#2390) * build(deps): bump gatsby-plugin-sitemap from 5.0.0 to 5.3.0 in /docs (golangci#2391) * build(deps): bump puppeteer from 10.4.0 to 12.0.1 in /docs (golangci#2392) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2396) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2398) * build(deps): bump @emotion/styled from 11.3.0 to 11.6.0 in /docs (golangci#2397) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.10 to 3.21.11 (golangci#2405) Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.21.10 to 3.21.11. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](shirou/gopsutil@v3.21.10...v3.21.11) --- updated-dependencies: - dependency-name: github.com/shirou/gopsutil/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/securego/gosec/v2 from 2.9.3 to 2.9.5 (golangci#2413) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.0 (golangci#2412) * revive: fix enableAllRules (golangci#2380) * build(deps): bump github.com/fzipp/gocyclo from 0.3.1 to 0.4.0 (golangci#2425) Bumps [github.com/fzipp/gocyclo](https://github.com/fzipp/gocyclo) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/fzipp/gocyclo/releases) - [Changelog](https://github.com/fzipp/gocyclo/blob/main/CHANGELOG.md) - [Commits](fzipp/gocyclo@v0.3.1...v0.4.0) --- updated-dependencies: - dependency-name: github.com/fzipp/gocyclo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump mvdan.cc/gofumpt from 0.2.0 to 0.2.1 (golangci#2427) Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.2.0 to 0.2.1. - [Release notes](https://github.com/mvdan/gofumpt/releases) - [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md) - [Commits](mvdan/gofumpt@v0.2.0...v0.2.1) --- updated-dependencies: - dependency-name: mvdan.cc/gofumpt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/spf13/viper from 1.10.0 to 1.10.1 (golangci#2424) Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.0 to 1.10.1. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](spf13/viper@v1.10.0...v1.10.1) --- updated-dependencies: - dependency-name: github.com/spf13/viper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (golangci#2426) * build(deps): bump github.com/esimonov/ifshort from 1.0.3 to 1.0.4 (golangci#2436) * dev: sorting linters by alphabet (ascending order) (golangci#2437) Co-authored-by: Fernandez Ludovic <[email protected]> * fix: update uname_os from shlib in install.sh (golangci#1944) (golangci#2388) * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2441) * build(deps): bump puppeteer from 12.0.1 to 13.0.1 in /docs (golangci#2442) * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2443) * build(deps): bump @emotion/react from 11.7.0 to 11.7.1 in /docs (golangci#2446) * build(deps): bump prop-types from 15.7.2 to 15.8.0 in /docs (golangci#2444) * build(deps): bump gatsby-plugin-sitemap from 5.3.0 to 5.4.0 in /docs (golangci#2447) * build(deps): bump gatsby-plugin-offline from 5.3.0 to 5.4.0 in /docs (golangci#2448) * gocritic: support autofix (golangci#2450) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.11 to 3.21.12 (golangci#2456) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2455) * build(deps): bump github.com/ldez/tagliatelle from 0.2.0 to 0.3.0 (golangci#2454) * doc: improve revive documentation (golangci#2458) * dev: improve and clean fix_test (golangci#2457) * docs: more revive examples (golangci#2459) * Add support for multiple outputs (golangci#2386) * Add decorder linter (golangci#2453) * Print error text in <failure> tag content for more readable junit report (golangci#2460) * pkg/result/processors: compile nolint regexp only once (golangci#2463) * depguard: updates configuration (golangci#2467) Co-authored-by: Fernandez Ludovic <[email protected]> * dev: add printers unit tests. (golangci#2461) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2472) * build(deps): bump github.com/go-critic/go-critic from 0.6.1 to 0.6.2 (golangci#2474) * build(deps): bump gitlab.com/bosi/decorder from 0.2.0 to 0.2.1 (golangci#2473) * docs: updates usage settings for `go-mnd` (golangci#2476) * exhaustive: drop deprecated/unused settings (golangci#2482) * godot: add period option (golangci#2483) * Return error if any linter fails to run (golangci#2471) * Bump github.com/ashanbrown/forbidigo from 1.2.0 to 1.3.0 (golangci#2487) * Bump makezero to v1.1.0 (golangci#2490) * build(deps): bump github.com/kulti/thelper from 0.4.0 to 0.5.0 (golangci#2492) Bumps [github.com/kulti/thelper](https://github.com/kulti/thelper) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/kulti/thelper/releases) - [Changelog](https://github.com/kulti/thelper/blob/master/.goreleaser.yml) - [Commits](kulti/thelper@v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: github.com/kulti/thelper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/breml/errchkjson from 0.2.0 to 0.2.1 (golangci#2493) * build(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0 (golangci#2491) * dev: rename `rowserrcheck` linter file to match linter name. (golangci#2495) * Add maintidx linter (golangci#2435) * varnamelen: explicit default values (golangci#2496) * gomnd: new configuration (golangci#2498) * add containedctx linter (golangci#2382) * importas: new option `no-extra-aliases` (golangci#2494) * bump github.com/yeya24/promlinter from v0.1.0 to HEAD (golangci#2500) * docs: improve linters settings section (golangci#2499) * docs: split configuration page into multiple sections (golangci#2484) * fix: importas no-extra-aliases (golangci#2503) * docs: improve configuration file content (golangci#2501) * docs: improve page about false-postive (golangci#2502) * unparam: bump to HEAD (golangci#2506) * errorlint: bump to HEAD (golangci#2507) * bodyclose: bump to HEAD (golangci#2508) * ineffassign: bump to HEAD (golangci#2509) * asciicheck: bump to v0.1.1 (golangci#2510) * forcetypeassert: bump to v0.1.0 (golangci#2511) * docs: improve configuration documentation (golangci#2514) * build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.4.0 to 2.5.0 (golangci#2518) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2519) * build(deps): bump github.com/securego/gosec/v2 from 2.9.5 to 2.9.6 (golangci#2516) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump github.com/mgechev/revive from 1.1.2 to 1.1.3 (golangci#2517) Co-authored-by: Fernandez Ludovic <[email protected]> * Add "grouper" linter (golangci#2497) * docs(revive): fix typo on the option `disabled`(golangci#2520) * docs: Update documentation and assets (golangci#2521) Co-authored-by: Fernandez Ludovic <[email protected]> * docs: fix misinterpreted XML tag in changelog (golangci#2522) * fix debug output (golangci#2531) * build(deps): bump github.com/kulti/thelper from 0.5.0 to 0.5.1 (golangci#2535) Bumps [github.com/kulti/thelper](https://github.com/kulti/thelper) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/kulti/thelper/releases) - [Changelog](https://github.com/kulti/thelper/blob/master/.goreleaser.yml) - [Commits](kulti/thelper@v0.5.0...v0.5.1) --- updated-dependencies: - dependency-name: github.com/kulti/thelper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump ws from 6.2.1 to 6.2.2 in /docs (golangci#2537) Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@6.2.1...6.2.2) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (golangci#2534) Bumps [github.com/sylvia7788/contextcheck](https://github.com/sylvia7788/contextcheck) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/sylvia7788/contextcheck/releases) - [Commits](kkHAIKE/contextcheck@v1.0.4...v1.0.5) --- updated-dependencies: - dependency-name: github.com/sylvia7788/contextcheck dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump ssri from 6.0.1 to 6.0.2 in /docs (golangci#2536) * Revert "build(deps): bump github.com/sylvia7788/contextcheck from 1.0.4 to 1.0.5 (golangci#2534)" (golangci#2538) This reverts commit 181c61f. * build(deps): bump gatsby-plugin-google-analytics in /docs (golangci#2539) Bumps [gatsby-plugin-google-analytics](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-google-analytics) from 4.4.0 to 4.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-analytics/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-google-analytics) --- updated-dependencies: - dependency-name: gatsby-plugin-google-analytics dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump react-live from 2.3.0 to 2.4.1 in /docs (golangci#2540) Bumps [react-live](https://github.com/philpl/react-live) from 2.3.0 to 2.4.1. - [Release notes](https://github.com/philpl/react-live/releases) - [Commits](FormidableLabs/react-live@v2.3.0...v2.4.1) --- updated-dependencies: - dependency-name: react-live dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-offline from 5.4.0 to 5.6.0 in /docs (golangci#2541) Bumps [gatsby-plugin-offline](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-offline) from 5.4.0 to 5.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-offline/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-offline) --- updated-dependencies: - dependency-name: gatsby-plugin-offline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-sitemap from 5.4.0 to 5.6.0 in /docs (golangci#2542) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 5.4.0 to 5.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump prop-types from 15.8.0 to 15.8.1 in /docs (golangci#2546) Bumps [prop-types](https://github.com/facebook/prop-types) from 15.8.0 to 15.8.1. - [Release notes](https://github.com/facebook/prop-types/releases) - [Changelog](https://github.com/facebook/prop-types/blob/main/CHANGELOG.md) - [Commits](facebook/prop-types@v15.8.0...v15.8.1) --- updated-dependencies: - dependency-name: prop-types dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump polished from 4.1.3 to 4.1.4 in /docs (golangci#2548) Bumps [polished](https://github.com/styled-components/polished) from 4.1.3 to 4.1.4. - [Release notes](https://github.com/styled-components/polished/releases) - [Commits](styled-components/polished@v4.1.3...v4.1.4) --- updated-dependencies: - dependency-name: polished dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump puppeteer from 13.0.1 to 13.1.3 in /docs (golangci#2547) Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.0.1 to 13.1.3. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](puppeteer/puppeteer@v13.0.1...v13.1.3) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-remark-copy-linked-files in /docs (golangci#2545) Bumps [gatsby-remark-copy-linked-files](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-copy-linked-files) from 5.4.0 to 5.6.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-copy-linked-files/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-copy-linked-files) --- updated-dependencies: - dependency-name: gatsby-remark-copy-linked-files dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump varnamelen from v0.5.0 to v0.6.0 (golangci#2551) * build(deps): bump simple-get from 3.1.0 to 3.1.1 in /docs (golangci#2552) Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/feross/simple-get/releases) - [Commits](feross/simple-get@v3.1.0...v3.1.1) --- updated-dependencies: - dependency-name: simple-get dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * dev: upgrade to gatsby 4 (golangci#2553) * build(deps): bump simple-get from 4.0.0 to 4.0.1 in /docs (golangci#2554) * build(deps): bump github.com/breml/errchkjson from 0.2.1 to 0.2.2 (golangci#2559) Bumps [github.com/breml/errchkjson](https://github.com/breml/errchkjson) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/breml/errchkjson/releases) - [Changelog](https://github.com/breml/errchkjson/blob/master/.goreleaser.yml) - [Commits](breml/errchkjson@v0.2.1...v0.2.2) --- updated-dependencies: - dependency-name: github.com/breml/errchkjson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/ldez/tagliatelle from 0.3.0 to 0.3.1 (golangci#2557) Bumps [github.com/ldez/tagliatelle](https://github.com/ldez/tagliatelle) from 0.3.0 to 0.3.1. - [Release notes](https://github.com/ldez/tagliatelle/releases) - [Commits](ldez/tagliatelle@v0.3.0...v0.3.1) --- updated-dependencies: - dependency-name: github.com/ldez/tagliatelle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.1 (golangci#2558) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2556) * docs(decorder): fix `disable-init-func-first-check: false` elaboration (golangci#2560) * build(deps): bump ajv from 6.12.2 to 6.12.6 in /.github/peril (golangci#2564) * bump github.com/daixiang0/gci from 0.2.9 to 0.3.0 (golangci#2532) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /docs (golangci#2567) * build(deps): bump github.com/quasilyte/go-ruleguard/dsl (golangci#2571) Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard) from 0.3.16 to 0.3.17. - [Release notes](https://github.com/quasilyte/go-ruleguard/releases) - [Commits](quasilyte/go-ruleguard@dsl/v0.3.16...dsl/v0.3.17) --- updated-dependencies: - dependency-name: github.com/quasilyte/go-ruleguard/dsl dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/breml/bidichk from 0.2.1 to 0.2.2 (golangci#2572) Bumps [github.com/breml/bidichk](https://github.com/breml/bidichk) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/breml/bidichk/releases) - [Changelog](https://github.com/breml/bidichk/blob/master/.goreleaser.yml) - [Commits](breml/bidichk@v0.2.1...v0.2.2) --- updated-dependencies: - dependency-name: github.com/breml/bidichk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/breml/errchkjson from 0.2.2 to 0.2.3 (golangci#2570) Bumps [github.com/breml/errchkjson](https://github.com/breml/errchkjson) from 0.2.2 to 0.2.3. - [Release notes](https://github.com/breml/errchkjson/releases) - [Changelog](https://github.com/breml/errchkjson/blob/master/.goreleaser.yml) - [Commits](breml/errchkjson@v0.2.2...v0.2.3) --- updated-dependencies: - dependency-name: github.com/breml/errchkjson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump github.com/mgechev/revive from v1.1.3 to v1.1.4 (golangci#2576) * gci: fix configuration naming (golangci#2578) * docs: Update documentation and assets (golangci#2579) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump gatsby-source-filesystem from 4.6.0 to 4.7.0 in /docs (golangci#2581) * docs: add link to configuration in the linters list (golangci#2587) * build(deps): bump github.com/ultraware/whitespace from 0.0.4 to 0.0.5 (golangci#2580) * gci: restore defaults for sections (golangci#2589) * bump github.com/daixiang0/gci to HEAD (golangci#2593) * build(deps): bump gatsby-transformer-yaml from 4.6.0 to 4.7.0 in /docs (golangci#2583) Bumps [gatsby-transformer-yaml](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-yaml) from 4.6.0 to 4.7.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-yaml/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-transformer-yaml) --- updated-dependencies: - dependency-name: gatsby-transformer-yaml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-remark-images from 6.6.0 to 6.7.0 in /docs (golangci#2582) Bumps [gatsby-remark-images](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-images) from 6.6.0 to 6.7.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-images/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-images) --- updated-dependencies: - dependency-name: gatsby-remark-images dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-manifest from 4.6.0 to 4.7.0 in /docs (golangci#2586) Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 4.6.0 to 4.7.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-manifest) --- updated-dependencies: - dependency-name: gatsby-plugin-manifest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.1 to 1.5.7 in /docs (golangci#2590) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.7. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.1...1.5.7) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: Update documentation and assets (golangci#2594) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump gatsby-transformer-sharp from 4.6.0 to 4.7.0 in /docs (golangci#2584) * build(deps): bump gatsby-plugin-emotion from 7.6.0 to 7.7.0 in /docs (golangci#2585) * bump github.com/daixiang0/gci to v0.3.1 (golangci#2596) * docs: add "back to the top" button (golangci#2602) * feat: use non-breaking space * feat: add back on top button * docs: add forbidigo example that uses comments (golangci#2599) * build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.4.0 to 2.5.0 (golangci#2603) * errcheck: add an option to remove default exclusions (golangci#2607) * revive: fix default values (golangci#2611) * bump github.com/denis-tingaikin/go-header from 0.4.2 to 0.4.3 (golangci#2614) * docs: improve linters page (golangci#2617) * Default to YAML when config file has no extension (golangci#2618) * build(deps): bump node-fetch in /.github/contributors (golangci#2616) * build(deps): bump mermaid from 8.8.0 to 8.14.0 in /docs (golangci#2620) * build(deps): bump mvdan.cc/gofumpt from 0.2.1 to 0.3.0 (golangci#2622) Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.2.1 to 0.3.0. - [Release notes](https://github.com/mvdan/gofumpt/releases) - [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md) - [Commits](mvdan/gofumpt@v0.2.1...v0.3.0) --- updated-dependencies: - dependency-name: mvdan.cc/gofumpt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump url-parse from 1.5.7 to 1.5.10 in /docs (golangci#2625) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.7...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/sivchari/containedctx from 1.0.1 to 1.0.2 (golangci#2623) Bumps [github.com/sivchari/containedctx](https://github.com/sivchari/containedctx) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/sivchari/containedctx/releases) - [Commits](sivchari/containedctx@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: github.com/sivchari/containedctx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/ashanbrown/makezero from 1.1.0 to 1.1.1 (golangci#2621) Bumps [github.com/ashanbrown/makezero](https://github.com/ashanbrown/makezero) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/ashanbrown/makezero/releases) - [Commits](ashanbrown/makezero@v1.1.0...v1.1.1) --- updated-dependencies: - dependency-name: github.com/ashanbrown/makezero dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/securego/gosec/v2 from 2.9.6 to 2.10.0 (golangci#2624) Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (golangci#2627) Co-authored-by: Sergey Vilgelm <[email protected]> Co-authored-by: Fernandez Ludovic <[email protected]> * build(deps): bump actions/setup-node from 2 to 3 (golangci#2628) * build(deps): bump gatsby-plugin-sitemap from 5.6.0 to 5.9.0 in /docs (golangci#2633) Bumps [gatsby-plugin-sitemap](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sitemap) from 5.6.0 to 5.9.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sitemap) --- updated-dependencies: - dependency-name: gatsby-plugin-sitemap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump prism-react-renderer from 1.2.1 to 1.3.1 in /docs (golangci#2630) Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.2.1 to 1.3.1. - [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases) - [Commits](FormidableLabs/prism-react-renderer@v1.2.1...v1.3.1) --- updated-dependencies: - dependency-name: prism-react-renderer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby from 4.6.2 to 4.9.0 in /docs (golangci#2631) Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 4.6.2 to 4.9.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/compare/[email protected]@4.9.0) --- updated-dependencies: - dependency-name: gatsby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump gatsby-plugin-mdx from 3.6.0 to 3.9.0 in /docs (golangci#2629) * build(deps): bump gatsby-plugin-emotion from 7.7.0 to 7.9.0 in /docs (golangci#2632) * build(deps): bump gatsby-plugin-sharp from 4.6.0 to 4.9.0 in /docs (golangci#2636) Bumps [gatsby-plugin-sharp](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-sharp) from 4.6.0 to 4.9.0. - [Release notes](https://github.com/gatsbyjs/gatsby/releases) - [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sharp/CHANGELOG.md) - [Commits](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-sharp) --- updated-dependencies: - dependency-name: gatsby-plugin-sharp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump @emotion/react from 11.7.1 to 11.8.1 in /docs (golangci#2634) * build(deps): bump gatsby-plugin-manifest from 4.7.0 to 4.9.0 in /docs (golangci#2635) * build(deps): bump github.com/daixiang0/gci from 0.3.1 to 0.3.2 (golangci#2640) * build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.1 to 3.22.2 (golangci#2641) * build(deps): bump normalize-url from 4.5.0 to 4.5.1 in /docs (golangci#2642) Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1. - [Release notes](https://github.com/sindresorhus/normalize-url/releases) - [Commits](https://github.com/sindresorhus/normalize-url/commits) --- updated-dependencies: - dependency-name: normalize-url dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump actions/checkout from 2 to 3 (golangci#2643) * gofumpt: add module-path setting (golangci#2644) * build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (golangci#2646) Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md) - [Commits](spf13/cobra@v1.3.0...v1.4.0) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * go1.18 support (golangci#2438) * fix: completion for fish-shell * docs: Update documentation and assets (golangci#2655) Co-authored-by: Fernandez Ludovic <[email protected]> * bump varnamelen to v0.6.1 (golangci#2656) * build(deps): bump github.com/hashicorp/go-version from 1.2.1 to 1.4.0 (golangci#2659) Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.2.1 to 1.4.0. - [Release notes](https://github.com/hashicorp/go-version/releases) - [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-version@v1.2.1...v1.4.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-version dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (golangci#2660) * fix: update base images (golangci#2661) * docs: fix GitHub Releases Stats badge link. (golangci#2665) * fix: disable structcheck with go1.18 (golangci#2666) * depguard: reduce requirements (golangci#2672) * build(deps): bump actions/cache from 2.1.7 to 3 (golangci#2674) Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](actions/cache@v2.1.7...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: automatic Go version detection (golangci#2669) * feat: disable unsupported go1.18 govet analyzers * fix: inactivate interfacer with go1.18 * fix: help command (golangci#2681) Co-authored-by: Oleg Butuzov <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fernandez Ludovic <[email protected]> Co-authored-by: sivchari <[email protected]> Co-authored-by: Nate Finch <[email protected]> Co-authored-by: sylvia <[email protected]> Co-authored-by: Sebastien Rosset <[email protected]> Co-authored-by: Maik Schreiber <[email protected]> Co-authored-by: Ryan Leung <[email protected]> Co-authored-by: Benjamin <[email protected]> Co-authored-by: Fernandez Ludovic <[email protected]> Co-authored-by: Kevin Gillette <[email protected]> Co-authored-by: Kirill Danshin <[email protected]> Co-authored-by: Sergey Vilgelm <[email protected]> Co-authored-by: Oleksandr Redko <[email protected]> Co-authored-by: Lucas Bremgartner <[email protected]> Co-authored-by: golangci-releaser <[email protected]> Co-authored-by: Nishanth Shanmugham <[email protected]> Co-authored-by: Rafik Draoui <[email protected]> Co-authored-by: Danil Ovchinnikov <[email protected]> Co-authored-by: mook <[email protected]> Co-authored-by: Alexander Melentyev <[email protected]> Co-authored-by: Tim Kral <[email protected]> Co-authored-by: Miles Delahunty <[email protected]> Co-authored-by: Kyungmin Bae <[email protected]> Co-authored-by: Denis Limarev <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: Florian Bosdorff <[email protected]> Co-authored-by: Donal Byrne <[email protected]> Co-authored-by: Iskander (Alex) Sharipov <[email protected]> Co-authored-by: Simon Sawert <[email protected]> Co-authored-by: Andrew Shannon Brown <[email protected]> Co-authored-by: Hiroyuki Yagihashi <[email protected]> Co-authored-by: leonklingele <[email protected]> Co-authored-by: Denis Limarev <[email protected]> Co-authored-by: Ville Skyttä <[email protected]> Co-authored-by: ngehrsitz <[email protected]> Co-authored-by: Chris Suszynski <[email protected]> Co-authored-by: Craig Furman <[email protected]> Co-authored-by: R. Franco <[email protected]> Co-authored-by: John Reese <[email protected]> Co-authored-by: Dylan Arbour <[email protected]> Co-authored-by: Demitri Tzitzon <[email protected]>
tenv is analyzer that detects using os.Setenv instead of t.Setenv.
in detail, please check following link.
https://github.com/sivchari/tenv