Vasiliy Tolstov
06136312bb
* regen files with never protoc * rewrite import path Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
41 lines
793 B
YAML
41 lines
793 B
YAML
run:
|
|
deadline: 5m
|
|
modules-download-mode: readonly
|
|
skip-dirs:
|
|
- util/mdns.new
|
|
skip-files:
|
|
- ".*\\.pb\\.go$"
|
|
- ".*\\.pb\\.micro\\.go$"
|
|
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
|
|
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
|