Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 83b7f4a

Browse files
authoredOct 28, 2022
ci: Fix linter complaint (#9645)
Fixes a very silly linter complaint that makes absolutely no sense and is blocking the merging of several PRs. --- #### PR checklist - [x] Tests written/updated, or no tests needed - [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed - [x] Updated relevant documentation (`docs/`) and code comments, or no documentation updates needed
1 parent 09b8708 commit 83b7f4a

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed
 

‎.github/workflows/lint.yml

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
go.sum
3232
- uses: golangci/golangci-lint-action@v3
3333
with:
34-
# Required: the version of golangci-lint is required and
35-
# must be specified without patch version: we always use the
36-
# latest patch version.
3734
version: v1.50.1
3835
args: --timeout 10m
3936
github-token: ${{ secrets.github_token }}

‎.golangci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ linters:
22
enable:
33
- asciicheck
44
- bodyclose
5-
- deadcode
65
- depguard
76
- dogsled
87
- dupl
@@ -26,7 +25,6 @@ linters:
2625
- typecheck
2726
- unconvert
2827
- unused
29-
- varcheck
3028

3129
issues:
3230
exclude-rules:

‎cmd/tendermint/commands/debug/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func copyConfig(home, dir string) error {
6767
func dumpProfile(dir, addr, profile string, debug int) error {
6868
endpoint := fmt.Sprintf("%s/debug/pprof/%s?debug=%d", addr, profile, debug)
6969

70-
//nolint: gosec
70+
//nolint:all
7171
resp, err := http.Get(endpoint)
7272
if err != nil {
7373
return fmt.Errorf("failed to query for %s profile: %w", profile, err)

0 commit comments

Comments
 (0)
Please sign in to comment.