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