greet/.golangci.yaml

39 lines
550 B
YAML

---
run:
concurrency: 2
timeout: 1m
issues-exit-code: 1
tests: true
output:
format: colored-line-number
print-issues-lines: true
print-linter-name: true
uniq-by-line: true
sort-results: true
linters:
enable-all: true
disable:
- scopelint
- maligned
- exhaustivestruct
- deadcode
- interfacer
- nosnakecase
- ifshort
- varcheck
- golint
- structcheck
fast: false
linters-settings:
lll:
line-length: 140
issues:
exclude-rules:
- path: greet_test.go
linters:
- ifshort
- testpackage