File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 31
31
"fetch" : " scripts/fetch.sh" ,
32
32
"init:generated" : " mkdirp ./generated/loaders && mkdirp ./generated/plugins " ,
33
33
"lint" : " run-s lint:*" ,
34
- "lint:links" : " hyperlink -r build/index.html | ./scripts/check-links.js --skip 10 " ,
34
+ "lint:links" : " hyperlink -r build/index.html | ./scripts/check-links.js" ,
35
35
"lint:js" : " eslint . --ext .js --ext .jsx" ,
36
36
"lint:markdown" : " markdownlint --config ./.markdownlint.json *.md ./content/**/*.md" ,
37
37
"lint:social" : " alex ./**/*.md" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ function checkLinks(args) {
22
22
var name = null ;
23
23
24
24
tap . on ( 'complete' , function ( res ) {
25
- const failures = res . failures ;
25
+ const failures = res . failures . filter ( failure => ! failure . diag || ! failure . diag . at ||
26
+ ! failure . diag . at . match ( / c l a s s = " ( s u p p o r t _ _ i t e m | s u p p o r t _ _ b a c k e r s - a v a t a r | s u p p o r t _ _ s p o n s o r s - a v a t a r ) " / ) ) ;
26
27
27
28
if ( failures . length > 0 ) {
28
29
console . log ( formatFailures ( failures ) ) ;
You can’t perform that action at this time.
0 commit comments