mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
fix: update lint-staged configuration
Configure lint-staged to format only non-image files while making a commit. fix #52
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": [
|
||||
"!(*.{png,jpg,jpeg,webp})": [
|
||||
"prettier --plugin-search-dir=. --write"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user