mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-09-27 02:51:04 +02:00
feat(.golangci.yml): enable additional linters and set max results to always show
This commit is contained in:
parent
874a746e30
commit
ee09adb556
@ -16,6 +16,9 @@ linters:
|
|||||||
- goimports
|
- goimports
|
||||||
- gomnd
|
- gomnd
|
||||||
- gosec
|
- gosec
|
||||||
|
- gosimple
|
||||||
|
- govet
|
||||||
|
- ineffassign
|
||||||
- misspell
|
- misspell
|
||||||
issues:
|
issues:
|
||||||
exclude-rules:
|
exclude-rules:
|
||||||
@ -44,6 +47,10 @@ issues:
|
|||||||
- text: "G306:"
|
- text: "G306:"
|
||||||
linters:
|
linters:
|
||||||
- gosec
|
- gosec
|
||||||
|
# always show all issues rather than only showing 50 at a time
|
||||||
|
max-issues-per-linter: 0
|
||||||
|
# always show all issues of a type rather than showing 3
|
||||||
|
max-same-issues: 0
|
||||||
output:
|
output:
|
||||||
format: tab
|
format: tab
|
||||||
print-issued-lines: true
|
print-issued-lines: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user