27 lines
396 B
YAML
27 lines
396 B
YAML
|
linters:
|
||
|
enable:
|
||
|
- gofmt
|
||
|
- govet
|
||
|
- gosimple
|
||
|
- staticcheck
|
||
|
- unused
|
||
|
- misspell
|
||
|
- goimports
|
||
|
- ineffassign
|
||
|
- gocritic
|
||
|
- errcheck
|
||
|
|
||
|
run:
|
||
|
deadline: 5m
|
||
|
tests: true
|
||
|
|
||
|
issues:
|
||
|
exclude-use-default: false
|
||
|
max-issues-per-linter: 0
|
||
|
max-same-issues: 0
|
||
|
|
||
|
output:
|
||
|
formats:
|
||
|
- format: colored-line-number
|
||
|
print-issued-lines: true
|
||
|
print-linter-name: true
|