Skip to content

Commit

Permalink
Remark: add ignore list, add skipOffline option
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryBrain committed Feb 5, 2020
1 parent 750fb20 commit 87570b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .remark-ignore
@@ -0,0 +1,3 @@
tmp
test
api/server/dist
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -30,7 +30,7 @@
"start:api:background": "npm run start:api&",
"format": "prettier --write --list-different \"{,!(dist)/**/}*.{js,md,ts,css,scss}\"",
"postinstall": "cp ./server/assets/pdf.worker.js ./node_modules/pdfjs-dist/build/",
"remark": "remark -fqu 'remark-lint-no-dead-urls=\"skipLocalhost\": true' -u remark-validate-links ."
"remark": "remark -fqu 'remark-lint-no-dead-urls=\"skipLocalhost\": true, \"skipOffline\": true' -u remark-validate-links -i .remark-ignore ."
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 87570b7

Please sign in to comment.