Skip to content

Commit

Permalink
ci(golangci): disable depguard
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Jul 20, 2023
1 parent c7bc3f6 commit 86e96b5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ linters:
disable-all: true
enable:
- deadcode
- depguard
- dogsled
- errcheck
- goconst
Expand Down Expand Up @@ -94,15 +93,14 @@ issues:

# Check that equal to self is true
- linters: [gocritic]
source: '(assert|require).+Equal'
text: 'dupArg'
source: "(assert|require).+Equal"
text: "dupArg"
path: _test\.go

# Ignore shadowing of err.
- linters: [ govet ]
- linters: [govet]
text: 'declaration of "(err|ctx|log|c)"'

# Ignore linters in main packages.
- path: main\.go
linters: [ goconst, funlen, gocognit, gocyclo ]

linters: [goconst, funlen, gocognit, gocyclo]

0 comments on commit 86e96b5

Please sign in to comment.