2019-12-03 16:23:09 +03:00
|
|
|
run:
|
2020-08-19 16:11:03 +03:00
|
|
|
deadline: 5m
|
2020-08-19 17:47:17 +03:00
|
|
|
modules-download-mode: readonly
|
|
|
|
skip-dirs:
|
|
|
|
- util/mdns.new
|
|
|
|
skip-files:
|
|
|
|
- ".*\\.pb\\.go$"
|
|
|
|
- ".*\\.pb\\.micro\\.go$"
|
2019-12-03 16:23:09 +03:00
|
|
|
linters:
|
|
|
|
disable-all: false
|
|
|
|
enable-all: false
|
|
|
|
enable:
|
|
|
|
- megacheck
|
|
|
|
- staticcheck
|
|
|
|
- deadcode
|
|
|
|
- varcheck
|
|
|
|
- gosimple
|
|
|
|
- unused
|
|
|
|
- prealloc
|
|
|
|
- scopelint
|
|
|
|
- gocritic
|
|
|
|
- goimports
|
|
|
|
- unconvert
|
|
|
|
- govet
|
|
|
|
- nakedret
|
|
|
|
- structcheck
|
|
|
|
- gosec
|
|
|
|
disable:
|
|
|
|
- maligned
|
|
|
|
- interfacer
|
|
|
|
- typecheck
|
|
|
|
- dupl
|
2020-08-19 17:47:17 +03:00
|
|
|
output:
|
|
|
|
format: colored-line-number
|
|
|
|
# print lines of code with issue, default is true
|
|
|
|
print-issued-lines: true
|
|
|
|
# print linter name in the end of issue text, default is true
|
|
|
|
print-linter-name: true
|
|
|
|
# make issues output unique by line, default is true
|
|
|
|
uniq-by-line: true
|