From ba9370ab1fcd6d104cb1b566ec8fab7de319e0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Fri, 12 Jun 2020 15:59:25 +0200 Subject: [PATCH] Enable `simplifycompositelit` check in CI This will fail the build when there are redundant types in composite struct literals. --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 000000000..57e53d6fb --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,3 @@ +linters: + enable: + gofmt