From 0bf33af758090c73c85bc99d5ec7170ed92ba6b4 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Tue, 31 Aug 2021 11:13:20 +0200 Subject: [PATCH] ci: enable staticcheck with ST1020 to check func docstrings. --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 7b74f7273..4fb6f5e1f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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