Commit f467b9b 1 parent f92df33 commit f467b9b Copy full SHA for f467b9b
File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 64
64
with :
65
65
node-version : 10.x
66
66
- name : Lint docs
67
- run : NODE=$(which node) make lint-md
67
+ run : |
68
+ echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
69
+ NODE=$(which node) make lint-md
68
70
lint-js :
69
71
runs-on : ubuntu-latest
70
72
steps :
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