Skip to content

Commit

Permalink
Add config .golangci.yml (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchen8911 authored May 10, 2024
2 parents d023c44 + 8d1c229 commit 7f6afd7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
run:
timeout: 5m

linters:
enable:
- errcheck
- goimports
- gosec
- gosimple
- govet
- ineffassign
- megacheck
- staticcheck
- typecheck
- unused

issues:
exclude-use-default: false
max-issues-per-linter: 0
max-same-issues: 0

0 comments on commit 7f6afd7

Please sign in to comment.