Add golangci-lint CI (#516)
This commit is contained in:
26
.golangci.yml
Normal file
26
.golangci.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
run:
|
||||
timeout: 5m
|
||||
skip-dirs:
|
||||
- .github
|
||||
- hack
|
||||
- vendor
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- gofmt
|
||||
- revive
|
||||
- goimports
|
||||
- govet
|
||||
- unused
|
||||
- whitespace
|
||||
- misspell
|
||||
fast: false
|
||||
linters-settings:
|
||||
gofmt:
|
||||
simplify: false
|
||||
revive:
|
||||
rules:
|
||||
- name: exported
|
||||
disabled: true
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
Reference in New Issue
Block a user