Skip to content

Commit ea80136

Browse files
committed
fix: Fix markdown lint command error. (jaywcjlove#40 jaywcjlove#41)
1 parent aa26be4 commit ea80136

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.lintstagedrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"**/*.{mjs,css,json,prettierrc,lintstagedrc}": ["prettier --write"],
3-
"./docs/*.md": ["markdownlint-cli --fix ./docs"]
3+
"./docs/*.md": ["markdownlint --fix ./docs"]
44
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": "node scripts/build.mjs",
1212
"start": "node scripts/watch.mjs",
1313
"prettier": "prettier --write '**/*.{mjs,css,json,prettierrc,lintstagedrc}'",
14-
"markdownlint": "markdownlint-cli --fix ./docs"
14+
"markdownlint": "markdownlint --fix ./docs"
1515
},
1616
"repository": {
1717
"type": "git",

0 commit comments

Comments
 (0)