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
Prettier user configuration should be applied correctly when using lint-staged and not fail.
What is actually happening?
When running yarn lint everything works as expected and no linting errors are found. However when I make a commit the following error happens:
> running pre-commit hook: lint-staged
❯ Running tasks for *.js
✖ vue-cli-service lint
→ 1 warning found.
git add
↓ Running tasks for *.vue [skipped]
→ No staged files match *.vue
✖ vue-cli-service lint found some errors. Please fix them and try committing again.
warning: File ignored because of a matching ignore pattern. Use "--no-ignore" to override (undefined) at vue.config.js
1 warning found.
pre-commit hook failed (add --no-verify to bypass)
I've tried deleting .eslintignore and vue.config.js and the error persists.
When there is no prettierrc.js everything works as expected, but I would like to be able to change the Prettier configuration.
The text was updated successfully, but these errors were encountered:
Version
3.0.0-alpha.13
Reproduction link
https://github.com/cesalberca/curiosity-client/tree/prettier-bug
Steps to reproduce
Try committing any change.
What is expected?
Prettier user configuration should be applied correctly when using lint-staged and not fail.
What is actually happening?
When running
yarn lint
everything works as expected and no linting errors are found. However when I make a commit the following error happens:I've tried deleting
.eslintignore
andvue.config.js
and the error persists.When there is no
prettierrc.js
everything works as expected, but I would like to be able to change the Prettier configuration.The text was updated successfully, but these errors were encountered: