From 773ba0f10010a978c3570a8a75410f8993a0357e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Luka=C5=A1=C3=ADk?= Date: Tue, 3 Oct 2023 15:03:22 +0200 Subject: [PATCH] ci: fix malformed configuration of golangci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removing a duplicate block. Addressing: run golangci-lint Running [/home/runner/golangci-lint-1.54.2-linux-amd64/golangci-lint run --out-format=github-actions -v --config ./.golangci.yml] in [] ... level=error msg="Can't read config: can't read viper config: While parsing config: yaml: unmarshal errors:\n line 217: mapping key \"whitespace\" already defined at line 209" Signed-off-by: Šimon Lukašík --- .golangci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index cd1df35b..dfa1685b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -214,9 +214,6 @@ linters-settings: misspell: #locale: US ignore-words: - whitespace: - multi-if: false # Enforces newlines (or comments) after every multi-line if statement - multi-func: false # Enforces newlines (or comments) after every multi-line function signature wsl: # If true append is only allowed to be cuddled if appending value is # matching variables, fields or types on line above. Default is true.