mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
chore: add astro extension in lint-staged code formatting
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,jsx,ts,tsx,md,mdx,json}": [
|
"*.{js,jsx,ts,tsx,md,mdx,json,astro}": [
|
||||||
"prettier --plugin-search-dir=. --write"
|
"prettier --plugin-search-dir=. --write"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user