From a23351f0974b34f9d9e087215b00de40474a0252 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 24 Sep 2020 20:57:55 +0200 Subject: [PATCH] Tweak golangci-lint configuration --- .golangci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 2b8ea89b40d..5322d8c4959 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,6 +12,7 @@ linters: - gci - gocritic - godot + - goerr113 - gofmt - gofumpt - goimports @@ -46,7 +47,6 @@ linters: - goconst - gocyclo - godox - - goerr113 - gomnd - lll - maligned @@ -61,9 +61,14 @@ linters-settings: extra-rules: true goimports: local-prefixes: github.com/twpayne/chezmoi + misspell: + locale: US issues: exclude-rules: + - linters: + - goerr113 + text: "do not define dynamic errors, use wrapped static errors instead" - linters: - dupl path: "secretgopass.go"