Skip to content

Commit

Permalink
chore: update linter
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Jun 24, 2024
1 parent 95fb8e7 commit 72633ac
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ linters:
fast: false
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
Expand All @@ -29,13 +27,11 @@ linters:
- nolintlint
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
- gofumpt

Expand All @@ -46,6 +42,7 @@ linters-settings:
files:
- $all
- "!$test"
- "!*_test.go"
allow:
- github.com/gin-gonic/gin
- embed
Expand All @@ -57,5 +54,4 @@ linters-settings:
- fmt

run:
timeout: 3m
tests: false
timeout: 3m

0 comments on commit 72633ac

Please sign in to comment.