0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-13 22:50:38 -05:00
zot/golangcilint.yaml

20 lines
361 B
YAML
Raw Normal View History

2019-06-20 16:36:40 -07:00
run:
deadline: 60m
skip-dirs:
- "internal"
linters:
enable-all: true
disable: funlen,godox,gocognit
2019-06-20 16:36:40 -07:00
output:
format: colored-line-number
2020-03-25 13:21:55 -07:00
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
2021-05-21 20:47:28 +00:00
min-complexity: 26