summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/cobra/.golangci.yml
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-11-08 11:50:41 +0000
committerLibravatar GitHub <noreply@github.com>2023-11-08 11:50:41 +0000
commit7204ccedc3ca48008ad2d5359343e52bf977778d (patch)
treec5d772bb0351001a21f1a159e2a4486d2c73c550 /vendor/github.com/spf13/cobra/.golangci.yml
parent[chore]: Bump github.com/jackc/pgx/v5 from 5.4.3 to 5.5.0 (#2336) (diff)
downloadgotosocial-7204ccedc3ca48008ad2d5359343e52bf977778d.tar.xz
[chore]: Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#2338)
Diffstat (limited to 'vendor/github.com/spf13/cobra/.golangci.yml')
-rw-r--r--vendor/github.com/spf13/cobra/.golangci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/spf13/cobra/.golangci.yml b/vendor/github.com/spf13/cobra/.golangci.yml
index 2578d94b5..a618ec24d 100644
--- a/vendor/github.com/spf13/cobra/.golangci.yml
+++ b/vendor/github.com/spf13/cobra/.golangci.yml
@@ -19,7 +19,7 @@ linters:
disable-all: true
enable:
#- bodyclose
- - deadcode
+ # - deadcode ! deprecated since v1.49.0; replaced by 'unused'
#- depguard
#- dogsled
#- dupl
@@ -51,12 +51,12 @@ linters:
#- rowserrcheck
#- scopelint
#- staticcheck
- - structcheck
+ #- structcheck ! deprecated since v1.49.0; replaced by 'unused'
#- stylecheck
#- typecheck
- unconvert
#- unparam
- #- unused
- - varcheck
+ - unused
+ # - varcheck ! deprecated since v1.49.0; replaced by 'unused'
#- whitespace
fast: false