2022-07-02 19:12:42 +10:00
|
|
|
run:
|
2024-10-26 21:16:51 +11:00
|
|
|
timeout: 10m
|
2022-07-02 19:12:42 +10:00
|
|
|
deadline: 5m
|
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
2022-07-02 19:22:01 +10:00
|
|
|
- varnamelen
|
2023-12-15 19:20:57 +11:00
|
|
|
- exhaustruct
|
2024-03-05 21:56:13 +11:00
|
|
|
- depguard
|
2022-07-02 19:22:01 +10:00
|
|
|
# deprecated
|
2024-10-26 21:16:51 +11:00
|
|
|
- gomnd
|
|
|
|
- execinquery
|
|
|
|
- exportloopref
|
2023-12-19 19:48:25 +11:00
|
|
|
- rowserrcheck
|
|
|
|
- wastedassign
|
2022-07-02 19:12:42 +10:00
|
|
|
linters-settings:
|
|
|
|
errcheck:
|
|
|
|
check-blank: false
|
2024-10-26 21:16:51 +11:00
|
|
|
exclude-functions:
|
|
|
|
- fmt:.*
|
2022-07-02 19:12:42 +10:00
|
|
|
nolintlint:
|
|
|
|
require-specific: true
|
2024-10-26 21:16:51 +11:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-dirs:
|
|
|
|
- demos
|
|
|
|
exclude-files:
|
|
|
|
- ".*_test.go"
|