Skip to content

Commit

Permalink
Add golint config
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Jul 1, 2019
1 parent f465e01 commit 2587dc7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
linters:
disable-all: true
enable:
- vet
- gofmt
- misspell
- goconst
- golint
- errcheck
- unconvert
- staticcheck
- varcheck
- structcheck
- deadcode

issues:
exclude-use-default: false

linters-settings:
goconst:
min-occurrences: 6

0 comments on commit 2587dc7

Please sign in to comment.