Skip to content

Commit

Permalink
Add golangci-lint config (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Sep 14, 2021
1 parent a247f1c commit aaf2959
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .golangci.yml
@@ -0,0 +1,34 @@
run:
tests: false

issues:
include:
- EXC0001
- EXC0005
- EXC0011
- EXC0012
- EXC0013

max-issues-per-linter: 0
max-same-issues: 0

linters:
enable:
- bodyclose
- dupl
- exportloopref
- goconst
- godot
- godox
- goimports
- goprintffuncname
- gosec
- ifshort
- misspell
- prealloc
- revive
- rowserrcheck
- sqlclosecheck
- unconvert
- unparam
- whitespace

0 comments on commit aaf2959

Please sign in to comment.