Skip to content

Commit

Permalink
Update regex to support rules without line numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
xt0rted committed Feb 3, 2020
1 parent fa12d36 commit a716419
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/stylelint-problem-matcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"file": "1"
},
{
"regexp": "^\\s+(\\d+):(\\d+)\\s+(✖|×)\\s+(.*)\\s{3,}(.*)$",
"line": 1,
"column": 2,
"message": 4,
"code": 5,
"regexp": "^\\s+((\\d+):(\\d+))?\\s+(✖|×)\\s+(.*)\\s{3,}(.*)$",
"line": 2,
"column": 3,
"message": 5,
"code": 6,
"loop": true
}
]
Expand Down

0 comments on commit a716419

Please sign in to comment.