fix: add plugin-search-dir in prettier write for pnpm

Fix error 'No parser could be inferred for file' (#34)
This commit is contained in:
Carles Barreda
2023-02-12 13:45:05 +01:00
committed by GitHub
parent df5aa582a9
commit e49ca61d6b
+1 -1
View File
@@ -52,7 +52,7 @@
}, },
"lint-staged": { "lint-staged": {
"*": [ "*": [
"prettier --write" "prettier --plugin-search-dir=. --write"
] ]
} }
} }