From bda605840da5c19d288ed22c447730f9e9ef9c67 Mon Sep 17 00:00:00 2001 From: k0l11 Date: Tue, 12 Sep 2023 22:24:58 +0200 Subject: [PATCH] adjust whitespace in linter config --- .golangci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 3ed655ca26..6b06190185 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,9 +7,7 @@ linters: disable-all: true enable: ## golangci defaults (core linters) - # - errcheck # checking for unchecked errors, these unchecked errors can be critical bugs in some cases - - gosimple # specializes in simplifying a code - govet # reports suspicious constructs, such as Printf calls whose arguments do not align with the format string - ineffassign # detects when assignments to existing variables are not used @@ -32,7 +30,6 @@ linters: ## code complexity detectors - nestif # reports deeply nested if statements - # - lll # reports long lines # - funlen # tool for detection of long functions # - gocognit # computes and checks the cognitive complexity of functions @@ -56,7 +53,6 @@ linters: - goconst # finds repeated strings that could be replaced by a constant - predeclared # finds code that shadows one of Go's predeclared identifiers - reassign # checks that package variables are not reassigned - # - dupl # tool for code clone detection # - nilnil # checks that there is no simultaneous return of nil error and an invalid value