mirror of
https://github.com/containers/skopeo.git
synced 2025-07-06 03:16:55 +00:00
Merge pull request #2566 from kolyshkin/golang-yml
.golangci.yml: simplify
This commit is contained in:
commit
a6ff545f30
@ -2,10 +2,12 @@ version: "2"
|
|||||||
linters:
|
linters:
|
||||||
settings:
|
settings:
|
||||||
staticcheck:
|
staticcheck:
|
||||||
checks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1005"] # golangci-lint's default, we add -ST1005
|
checks:
|
||||||
|
# Compared to golangci-lint v2.0.2 defaults, we don’t exclude
|
||||||
|
# ST1003, ST1016, ST1020, ST1021, ST1022 as we don't hit those.
|
||||||
|
- all
|
||||||
|
- -ST1000 # Incorrect or missing package comment.
|
||||||
|
- -ST1005 # Incorrectly formatted error string.
|
||||||
exclusions:
|
exclusions:
|
||||||
presets:
|
presets:
|
||||||
- comments
|
|
||||||
- common-false-positives
|
|
||||||
- legacy
|
|
||||||
- std-error-handling
|
- std-error-handling
|
||||||
|
Loading…
Reference in New Issue
Block a user