forked from TrueCloudLab/distribution
dec03ea3d8
Removing the "structcheck" and "varcheck" linters as they've been deprecated. level=warning msg="[runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused." level=warning msg="[runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused." Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
26 lines
472 B
YAML
26 lines
472 B
YAML
linters:
|
|
enable:
|
|
- staticcheck
|
|
- unconvert
|
|
- gofmt
|
|
- goimports
|
|
- revive
|
|
- ineffassign
|
|
- vet
|
|
- unused
|
|
- misspell
|
|
disable:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
revive:
|
|
rules:
|
|
# TODO(thaJeztah): temporarily disabled the "unused-parameter" check.
|
|
# It produces many warnings, and some of those may need to be looked at.
|
|
- name: unused-parameter
|
|
disabled: true
|
|
|
|
run:
|
|
deadline: 2m
|
|
skip-dirs:
|
|
- vendor
|