2022-07-02 19:12:42 +10:00
|
|
|
run:
|
|
|
|
deadline: 5m
|
2022-07-02 19:22:01 +10:00
|
|
|
skip-dirs:
|
|
|
|
- demos
|
2023-12-17 19:48:19 +11:00
|
|
|
skip-files:
|
|
|
|
- ".*_test.go"
|
2022-07-02 19:12:42 +10:00
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
2022-07-02 19:22:01 +10:00
|
|
|
- varnamelen
|
2023-12-15 19:20:57 +11:00
|
|
|
- exhaustruct
|
2022-07-02 19:22:01 +10:00
|
|
|
# deprecated
|
2023-12-19 19:48:25 +11:00
|
|
|
- rowserrcheck
|
|
|
|
- wastedassign
|
2023-12-15 19:20:57 +11:00
|
|
|
- structcheck
|
|
|
|
- deadcode
|
|
|
|
- varcheck
|
|
|
|
- nosnakecase
|
|
|
|
- ifshort
|
2022-07-02 19:12:42 +10:00
|
|
|
- golint
|
|
|
|
- maligned
|
|
|
|
- interfacer
|
|
|
|
- scopelint
|
|
|
|
- exhaustivestruct
|
|
|
|
linters-settings:
|
|
|
|
errcheck:
|
|
|
|
check-blank: false
|
|
|
|
ignore: fmt:.*
|
|
|
|
nolintlint:
|
|
|
|
require-specific: true
|