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 6bd2acd5b3
commit 0491c010af
No known key found for this signature in database
GPG Key ID: AA7D460F5C8377AA
1 changed files with 5 additions and 0 deletions

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