-
-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No parser could be inferred" error when i try to commit #52
Comments
The error is triggered by Prettier that is following these rules: Lines 1 to 13 in 0815188
Prettier is triggered upon commit by a pre-commit hook: Lines 1 to 4 in 0815188
A simple way to get rid of that, preserving the hook, is adding |
Hello, In AstroPaper, lint-staged is triggered whenever we try to commit. Lint-staged is then configured to format (with prettier) the staged files. The error occurs because lint-staged is trying to format the staged To resolve this issue, we can try a few ways 1) Disable lint-staged for a while when committingWe can disable lint-staged for a while by commenting out #!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# npx lint-staged 2) Ignore
|
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:
Also it's not well documented how to add images for a blog post.
The text was updated successfully, but these errors were encountered: