Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

feat: add golangci lint conf #5

Merged
merged 1 commit into from Feb 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 27 additions & 0 deletions .golangci.yml
@@ -0,0 +1,27 @@
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- dupl
- errcheck
- gochecknoglobals
- gocritic
- gocyclo
- gosimple
- govet
- ineffassign
- makezero
- misspell
- nilerr
- prealloc
- revive
- staticcheck
- structcheck
- stylecheck
- testpackage
- typecheck
- unparam
- unused
- varcheck
- wsl