mirror of
https://github.com/kubereboot/kured.git
synced 2026-02-14 09:29:51 +00:00
38 lines
797 B
YAML
38 lines
797 B
YAML
version: "2"
|
|
#timeout : 5m we can add this if needed
|
|
modules-download-mode: readonly
|
|
run:
|
|
tests: false
|
|
linters:
|
|
enable:
|
|
- govet
|
|
- staticcheck
|
|
- unused
|
|
- contextcheck
|
|
- goconst
|
|
- gosec
|
|
- testifylint
|
|
- errcheck
|
|
- revive
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
check-type-assertions: true
|
|
check-blank: true
|
|
revive:
|
|
severity: warning
|
|
confidence: 0.8
|
|
rules:
|
|
- name: indent-error-flow
|
|
- name: var-naming
|
|
- name: import-shadowing
|
|
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#package-comments
|
|
- name: package-comments # This is not working!
|
|
disabled: true
|
|
output:
|
|
format: colored-line-number
|
|
print-issued-lines: true
|
|
print-linter-name: true
|
|
uniq-by-line: false
|
|
sort-results: true
|