ci: enable staticcheck with ST1020 to check func docstrings.

This commit is contained in:
James Rasell
2021-08-31 11:13:20 +02:00
parent 2998c4b05f
commit 0bf33af758

View File

@@ -64,6 +64,10 @@ linters-settings:
disabled-checks:
- commentFormatting
- deprecatedComment
staticcheck:
# Only enable a single check to start.
# I(jrasell) will work on enabling additional checks when possible.
checks: ["ST1020"]
issues:
exclude:
@@ -87,6 +91,7 @@ linters:
- gofmt
- gosimple
- depguard
- staticcheck
# Stretch Goal
#- maligned
fast: false