2022-03-09 12:20:28 -05:00
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
- staticcheck
|
|
|
|
- unconvert
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- golint
|
|
|
|
- ineffassign
|
|
|
|
- vet
|
|
|
|
- unused
|
|
|
|
- misspell
|
|
|
|
disable:
|
|
|
|
- errcheck
|
|
|
|
|
2023-10-13 11:54:59 -04:00
|
|
|
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
|
|
|
|
|
2022-03-09 12:20:28 -05:00
|
|
|
run:
|
|
|
|
deadline: 2m
|
|
|
|
skip-dirs:
|
|
|
|
- vendor
|
2023-05-11 13:13:41 -04:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
# io/ioutil is deprecated, but won't be removed until Go v2. It's safe to ignore for the release/2.8 branch.
|
|
|
|
- text: "SA1019: \"io/ioutil\" has been deprecated since Go 1.16"
|
|
|
|
linters:
|
|
|
|
- staticcheck
|