Skip to content

Commit

Permalink
feat: Update linter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcap1 committed Jun 27, 2024
1 parent 14a0f45 commit 9619959
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ run:
timeout: 2m

output:
format: tab
formats:
- format: tab

issues:
max-issues-per-linter: 0
Expand All @@ -16,6 +17,19 @@ linters:
- gocritic
- gocyclo
- gofmt
- golint
- govet
- staticcheck
- misspell
- unconvert

linters-settings:
depguard:
rules:
prevent_unmaintained_packages:
list-mode: lax # allow unless explicitely denied
files:
- $all
- "!$test"
allow:
- "github.com/clok"
- "github.com/aws/aws-sdk-go"

0 comments on commit 9619959

Please sign in to comment.