Skip to content

Commit

Permalink
chore: improve format action (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryQW authored Jan 26, 2024
1 parent 354e7d1 commit 30f97ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "module",
"scripts": {
"lint": "remark -i .gitignore . --quiet --frail",
"format": "remark -i .gitignore . --output"
"format": "git diff --name-only -- '*.md' | while read file; do remark \"$file\" --output \"$file\"; done"
},
"remarkConfig": {
"settings": {
Expand Down

0 comments on commit 30f97ee

Please sign in to comment.