From 29d3ef5655a00f565f40a2e6068d60b2112d7e96 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Tue, 26 May 2020 13:01:57 +0100 Subject: [PATCH] Catch the severity level too and try and fix the filename match --- codespell-matcher.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/codespell-matcher.json b/codespell-matcher.json index a3cdbea..577176a 100644 --- a/codespell-matcher.json +++ b/codespell-matcher.json @@ -15,9 +15,10 @@ "owner": "codespell-matcher-warning", "pattern": [ { - "regexp": "^WARNING:\\s+(.+):\\s+(.+)$", - "file": 2, - "message": 1 + "regexp": "^(WARNING):\\s+(.+?):\\s+(.+)$", + "file": 3, + "severity": 1, + "message": 2 } ] }