You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can be fixed with an upgrade to prettier but may require updating the configuration.
Recording
# ... below has been commented out
/Users/.../slate/node_modules/.bin/lint-staged
✔ Preparing...
⚠ Running tasks...
❯ Running tasks for*.{css,md,js,jsx,json,ts,tsx}
✖ prettier --write [FAILED]
◼ eslint --fix
↓ Skipped because of errors from tasks. [SKIPPED]
✔ Reverting to original state because of errors...
✔ Cleaning up...
✖ prettier --write:
[error] No matching files. Patterns tried: /Users/sunnyhirai/Projects/slate-7/site/pages/examples/[example].tsx !**/node_modules/**!./node_modules/**!**/.{git,svn,hg}/**!./.{git,svn,hg}/**
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Steps
Make any change to pages/examples/[example].tsx and it won't allow the commit to continue.
Expectation
Should commit without error
Environment
Slate Version: latest
Operating System: OSX
Context
Trying to update the examples to include syntax highlighting but I can't because it won't allow the commit to go through.
The text was updated successfully, but these errors were encountered:
Description
Can't
git commit
due to this issue inlint-staged
lint-staged/lint-staged#676Can be fixed with an upgrade to
prettier
but may require updating the configuration.Recording
Steps
Make any change to
pages/examples/[example].tsx
and it won't allow the commit to continue.Expectation
Should commit without error
Environment
Context
Trying to update the examples to include syntax highlighting but I can't because it won't allow the commit to go through.
The text was updated successfully, but these errors were encountered: