mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 12:40:19 +01:00
2fbd19365c
In order to follow golang's best practices, we should lint the code base properly beyond usual syntax mistakes.
20 lines
297 B
YAML
20 lines
297 B
YAML
run:
|
|
deadline: 10m
|
|
issues-exit-code: 1
|
|
tests: true
|
|
|
|
output:
|
|
format: colored-line-number
|
|
print-issued-lines: true
|
|
print-linter-name: true
|
|
|
|
linters:
|
|
disable:
|
|
- deadcode
|
|
- unused
|
|
|
|
issues:
|
|
max-issues-per-linter: 0
|
|
max-same-issues: 0
|
|
new: false
|
|
exclude-use-default: false
|