From 9561cf35f342868a1642c30d2e337e783338c875 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Tue, 26 May 2020 15:14:26 +0100 Subject: [PATCH] Handle with or without trailing space and match error too --- codespell-matcher.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codespell-matcher.json b/codespell-matcher.json index 44ffde8..7e7abfc 100644 --- a/codespell-matcher.json +++ b/codespell-matcher.json @@ -1,7 +1,7 @@ { "problemMatcher": [ { - "owner": "codespell-matcher-error", + "owner": "codespell-matcher-default", "pattern": [ { "regexp": "^(.+):(\\d+):\\s+(.+)$", @@ -12,10 +12,10 @@ ] }, { - "owner": "codespell-matcher-warning", + "owner": "codespell-matcher-specified", "pattern": [ { - "regexp": "^(WARNING):\\s+(.+):\\s+(.+)\\s+$", + "regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+)\\s*$", "file": 3, "severity": 1, "message": 2