Skip to content

Commit

Permalink
fix: 修复golangci-lint新版本配置
Browse files Browse the repository at this point in the history
  • Loading branch information
arrebole committed Jul 26, 2023
1 parent e7c1bc4 commit 99b7608
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ linters:
- goimports
- goprintffuncname
- govet
- interfacer
- misspell
- nolintlint
- scopelint
- exportloopref
- typecheck
- unconvert
- unparam
- whitespace

linters-settings:
depguard:
rules:
main:
allow:
- $gostd
- github.com
test:
allow:
- $gostd
- github.com

0 comments on commit 99b7608

Please sign in to comment.