Skip to content

Commit 9561cf3

Browse files
committed
Handle with or without trailing space and match error too
1 parent 087de87 commit 9561cf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codespell-matcher.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"problemMatcher": [
33
{
4-
"owner": "codespell-matcher-error",
4+
"owner": "codespell-matcher-default",
55
"pattern": [
66
{
77
"regexp": "^(.+):(\\d+):\\s+(.+)$",
@@ -12,10 +12,10 @@
1212
]
1313
},
1414
{
15-
"owner": "codespell-matcher-warning",
15+
"owner": "codespell-matcher-specified",
1616
"pattern": [
1717
{
18-
"regexp": "^(WARNING):\\s+(.+):\\s+(.+)\\s+$",
18+
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+)\\s*$",
1919
"file": 3,
2020
"severity": 1,
2121
"message": 2

0 commit comments

Comments
 (0)