Skip to content

Commit

Permalink
fix: add plugin-search-dir in prettier write for pnpm
Browse files Browse the repository at this point in the history
Fix error 'No parser could be inferred for file' (#34)
  • Loading branch information
carlesbarreda authored Feb 12, 2023
1 parent df5aa58 commit e49ca61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"lint-staged": {
"*": [
"prettier --write"
"prettier --plugin-search-dir=. --write"
]
}
}

0 comments on commit e49ca61

Please sign in to comment.