Add golint config
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
5736ac1d9d
commit
126fa8913a
21
.golangci.yml
Normal file
21
.golangci.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user