From 475744436a8cab3f7b0701b799374334d0f4ddd5 Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Sun, 5 Jan 2025 01:20:44 +0800 Subject: [PATCH 1/2] golangci: fix invalid `linter-settings` configuration name `linters-settings` is the correct configuration name [1]. [1]: https://golangci-lint.run/usage/configuration/#linters-settings-configuration Signed-off-by: Eng Zer Jun --- .golangci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yaml b/.golangci.yaml index 8aeb515bd3..ec90c83f93 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -137,7 +137,7 @@ issues: - staticcheck text: "SA1019" -linter-settings: +linters-settings: lll: line-length: 200 From 38df33069962923c2ee0fae642644c4edf4888dc Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Sun, 5 Jan 2025 02:11:58 +0800 Subject: [PATCH 2/2] golangci: remove misspell US locale restriction Signed-off-by: Eng Zer Jun --- .golangci.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index ec90c83f93..6c0f96dcd6 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -141,9 +141,6 @@ linters-settings: lll: line-length: 200 - misspell: - locale: US - linters: disable-all: true enable: