0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/golangcilint.yaml
2021-05-04 13:44:45 -07:00

19 lines
No EOL
360 B
YAML

run:
deadline: 60m
skip-dirs:
- "internal"
linters:
enable-all: true
disable: funlen,godox,gocognit
output:
format: colored-line-number
linters-settings:
dupl:
# tokens count to trigger issue, 150 by default
threshold: 200
nestif:
# their are various nested if else, therefore specifying complexity as 26
min-complexity: 26