Skip to content

Commit

Permalink
contextcheck: change owner (golangci#3198)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkHAIKE authored and SeigeC committed Apr 4, 2023
1 parent 1f8528e commit f230455
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -309,7 +309,7 @@ IMPORTANT: `varcheck` and `deadcode` has been removed of default linters.
### october 2021

1. new linters:
* `contextcheck`: https://github.com/sylvia7788/contextcheck
* `contextcheck`: https://github.com/kkHAIKE/contextcheck
* `varnamelen`: https://github.com/blizzy78/varnamelen
2. update linters:
* `gochecknoglobals`: to v0.1.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -51,6 +51,7 @@ require (
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af
github.com/julz/importas v0.1.0
github.com/kisielk/errcheck v1.6.2
github.com/kkHAIKE/contextcheck v1.1.0
github.com/kulti/thelper v0.6.3
github.com/kunwardeep/paralleltest v1.0.6
github.com/kyoh86/exportloopref v0.1.8
Expand Down Expand Up @@ -92,7 +93,6 @@ require (
github.com/ssgreg/nlreturn/v2 v2.2.1
github.com/stbenjam/no-sprintf-host-port v0.1.1
github.com/stretchr/testify v1.8.0
github.com/sylvia7788/contextcheck v1.0.9
github.com/tdakkota/asciicheck v0.1.1
github.com/tetafro/godot v1.4.11
github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144
Expand Down
8 changes: 2 additions & 6 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/golinters/contextcheck.go
@@ -1,7 +1,7 @@
package golinters

import (
"github.com/sylvia7788/contextcheck"
"github.com/kkHAIKE/contextcheck"
"golang.org/x/tools/go/analysis"

"github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lint/lintersdb/manager.go
Expand Up @@ -306,7 +306,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithSince("v1.43.0").
WithPresets(linter.PresetBugs).
WithLoadForGoAnalysis().
WithURL("https://github.com/sylvia7788/contextcheck"),
WithURL("https://github.com/kkHAIKE/contextcheck"),

linter.NewConfig(golinters.NewCyclop(cyclopCfg)).
WithSince("v1.37.0").
Expand Down

0 comments on commit f230455

Please sign in to comment.