2021-09-19 05:57:46 +01:00
|
|
|
---
|
|
|
|
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
|
2023-08-28 14:39:18 +01:00
|
|
|
disable:
|
|
|
|
- scopelint
|
|
|
|
- maligned
|
|
|
|
- exhaustivestruct
|
|
|
|
- deadcode
|
|
|
|
- interfacer
|
|
|
|
- nosnakecase
|
|
|
|
- ifshort
|
|
|
|
- varcheck
|
|
|
|
- golint
|
|
|
|
- structcheck
|
2021-09-19 05:57:46 +01:00
|
|
|
fast: false
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
lll:
|
|
|
|
line-length: 140
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: greet_test.go
|
|
|
|
linters:
|
|
|
|
- ifshort
|
|
|
|
- testpackage
|