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 3fcf567 commit 6cd3c4c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,22 @@ linters:
- whitespace
- gofumpt

linters-settings:
depguard:
rules:
prevent_unmaintained_packages:
files:
- $all
- "!$test"
allow:
- github.com/gin-gonic/gin
- embed
- io/fs
- net/http
- os
- path
- strings
- fmt

run:
timeout: 3m

0 comments on commit 6cd3c4c

Please sign in to comment.