2019-10-09 12:02:21 +00:00
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
- staticcheck
|
|
|
|
- unconvert
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
2022-01-28 11:19:42 +00:00
|
|
|
- revive
|
2019-10-09 12:02:21 +00:00
|
|
|
- ineffassign
|
2024-06-30 15:46:13 +00:00
|
|
|
- govet
|
2019-10-09 12:02:21 +00:00
|
|
|
- unused
|
|
|
|
- misspell
|
2023-08-19 08:16:02 +00:00
|
|
|
- bodyclose
|
2023-09-03 21:41:51 +00:00
|
|
|
- prealloc
|
2019-10-09 12:02:21 +00:00
|
|
|
- errcheck
|
2023-11-29 21:40:20 +00:00
|
|
|
- tparallel
|
2019-10-09 12:02:21 +00:00
|
|
|
|
2023-05-09 10:36:32 +00: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
|
|
|
|
|
2024-06-30 15:46:13 +00:00
|
|
|
issues:
|
2019-10-09 12:02:21 +00:00
|
|
|
deadline: 2m
|
2024-06-30 15:46:13 +00:00
|
|
|
exlude-dirs:
|
2019-10-09 12:02:21 +00:00
|
|
|
- vendor
|