Skip to content

Commit

Permalink
test: add markdown-link-check config
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Apr 12, 2020
1 parent 5a0945f commit 0354084
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "^https://codepen.io"
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "./bin/compile && gulp",
"format": "eslint \"**/*.js\" --fix && prettier \"**/*.{js,json}\" --write",
"format:check": "eslint \"**/*.js\" && prettier --check \"**/*.{js,json}\" && markdownlint \"./README.md\" && markdown-link-check \"./README.md\"",
"format:check": "eslint \"**/*.js\" && prettier --check \"**/*.{js,json}\" && markdownlint \"./README.md\" && markdown-link-check -c \"./.markdown-link-check.json\" \"./README.md\"",
"test": "npm run build && npm run format:check && rm -rf \"./coverage\" && jest"
},
"repository": {
Expand Down

0 comments on commit 0354084

Please sign in to comment.