File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 77 - " package*.json"
88 - " **/*.md"
99 - " .github/workflows/ci.yml"
10+ - " .github/workflows/remark-lint-problem-matcher.json"
1011
1112 pull_request :
1213 paths :
1314 - " package*.json"
1415 - " **/*.md"
1516 - " .github/workflows/ci.yml"
17+ - " .github/workflows/remark-lint-problem-matcher.json"
1618
1719jobs :
1820 lint :
2931 run : npm ci
3032
3133 - name : Test
32- run : npm test
34+ run : |
35+ echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
36+ npm test
Original file line number Diff line number Diff line change 1+ {
2+ "problemMatcher" : [
3+ {
4+ "owner" : " remark-lint" ,
5+ "pattern" : [
6+ {
7+ "regexp" : " ^(?:\\ x1b\\ [\\ d+m)*(.+?)(?:\\ x1b\\ [\\ d+m)*$" ,
8+ "file" : 1
9+ },
10+ {
11+ "regexp" : " ^\\ s+(?:\\ d+:\\ d+-)?(\\ d+):(\\ d+)\\ s+\\ S*(error|warning|info)\\ S*\\ s+(.+)\\ s+(\\ S+)\\ s+(?:\\ S+)$" ,
12+ "line" : 1 ,
13+ "column" : 2 ,
14+ "severity" : 3 ,
15+ "message" : 4 ,
16+ "code" : 5 ,
17+ "loop" : true
18+ }
19+ ]
20+ }
21+ ]
22+ }
You can’t perform that action at this time.
0 commit comments