mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 19:41:02 +08:00
fix: add plugin-search-dir in format & format:check
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@
|
|||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"sync": "astro sync",
|
"sync": "astro sync",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
"format:check": "prettier --check .",
|
"format:check": "prettier --plugin-search-dir=. --check .",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --plugin-search-dir=. --write .",
|
||||||
"cz": "cz",
|
"cz": "cz",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
|
|||||||
Reference in New Issue
Block a user