From f7e62ce2c2550cd9dac33a39d0c2544e7e8699fb Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Tue, 9 Nov 2021 19:08:13 +0100 Subject: [PATCH] enable gofmt linter --- .golangci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index f7622b0f..07fd00b8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,13 @@ run: timeout: 5m linters: - enabled: + enable: + - gofmt - goimports - gosec +issues: + exclude-rules: + - linters: + - gosec + text: "Implicit memory aliasing in for loop." + path: _test\.go