From a03177e9602d0c3e3eac5c20d0b025dd4d8ce771 Mon Sep 17 00:00:00 2001 From: Arve Knudsen Date: Fri, 17 Jul 2020 13:44:33 +0200 Subject: [PATCH] Chore: Enable misspell linter (#26393) Signed-off-by: Arve Knudsen --- scripts/go/configs/.golangci.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/go/configs/.golangci.toml b/scripts/go/configs/.golangci.toml index 0b5b0232329..ea3336fb9f4 100644 --- a/scripts/go/configs/.golangci.toml +++ b/scripts/go/configs/.golangci.toml @@ -27,7 +27,7 @@ enable = [ "govet", "ineffassign", # "interfacer", - # "misspell", + "misspell", "rowserrcheck", "exportloopref", "staticcheck", @@ -75,3 +75,7 @@ text = "402" [[issues.exclude-rules]] linters = ["gosec"] text = "501" + +[[issues.exclude-rules]] +linters = ["misspell"] +text = "Unknwon` is a misspelling of `Unknown"