build: update lint-staged to only format certain file types

resolved #79
This commit is contained in:
satnaing
2023-06-21 12:38:30 +06:30
parent e017dcf9a5
commit 47b1b4eadc
+1 -1
View File
@@ -53,7 +53,7 @@
} }
}, },
"lint-staged": { "lint-staged": {
"!(*.{png,jpg,jpeg,webp})": [ "*.{js,jsx,ts,tsx,md,mdx,json}": [
"prettier --plugin-search-dir=. --write" "prettier --plugin-search-dir=. --write"
] ]
} }