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:
satnaing
2023-04-18 00:02:33 +06:30
parent 0e9f709c5d
commit e654c0308c
+1 -1
View File
@@ -53,7 +53,7 @@
} }
}, },
"lint-staged": { "lint-staged": {
"*": [ "!(*.{png,jpg,jpeg,webp})": [
"prettier --plugin-search-dir=. --write" "prettier --plugin-search-dir=. --write"
] ]
} }