From 3aaea78f29724e6e1a4744701d11a3a830d22dcb Mon Sep 17 00:00:00 2001 From: SuperQ Date: Thu, 6 Jul 2023 08:36:36 +0200 Subject: [PATCH] Update linter settings * Disable unused-parameter * Enable misspell Signed-off-by: SuperQ --- .golangci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index f494043..80a5c54 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,7 @@ --- linters: enable: + - misspell - revive issues: @@ -8,3 +9,11 @@ issues: - path: _test.go linters: - errcheck + +linters-settings: + revive: + rules: + # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter + - name: unused-parameter + severity: warning + disabled: true