From b85d5cf069bab0969ccc283b86de89a26661eed3 Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk <509198+m1kola@users.noreply.github.com> Date: Tue, 26 Apr 2022 02:16:23 +0100 Subject: [PATCH] Enables go fmt simplify (#2081) --- .golangci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 6e05438c3..682ae7a6d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,11 +13,8 @@ issues: exclude-use-default: false linters-settings: - gofmt: - simplify: false - stylecheck: - # added additional checks for comments in Go. + # added additional checks for comments in Go. # Refer https://staticcheck.io/docs/options#checks for details checks: ["all", "-ST1000", "ST1020", "ST1021", "ST1022"] @@ -32,6 +29,5 @@ linters: - govet - staticcheck # TODO: Enable the stylecheck linter in a follow-up PR as it requires changes in a lot of files - # - stylecheck + # - stylecheck - whitespace -