"No parser could be inferred" error when i try to commit #52
Closed
Description
In my public directory I have an image file called logosquare.png.
When I try to do a git commit I get the following error:
Preparing lint-staged...
❯ Running tasks for staged files...
❯ package.json — 2 files
❯ * — 2 files
✖ prettier --plugin-search-dir=. --write [FAILED]
↓ Skipped because of errors from tasks. [SKIPPED]
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...
✖ prettier --plugin-search-dir=. --write:
[error] No parser could be inferred for file: public/logosquare.png
src/content/blog/submitter-formdata.md 217ms
husky - pre-commit hook exited with code 1 (error)
Also it's not well documented how to add images for a blog post.
Metadata
Assignees
Labels
No labels