59fd8656ac
This will give us nice little performance gains in some code paths. Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
28 lines
503 B
YAML
28 lines
503 B
YAML
linters:
|
|
enable:
|
|
- staticcheck
|
|
- unconvert
|
|
- gofmt
|
|
- goimports
|
|
- revive
|
|
- ineffassign
|
|
- vet
|
|
- unused
|
|
- misspell
|
|
- bodyclose
|
|
- prealloc
|
|
disable:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
revive:
|
|
rules:
|
|
# TODO(thaJeztah): temporarily disabled the "unused-parameter" check.
|
|
# It produces many warnings, and some of those may need to be looked at.
|
|
- name: unused-parameter
|
|
disabled: true
|
|
|
|
run:
|
|
deadline: 2m
|
|
skip-dirs:
|
|
- vendor
|