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
why this plugin ignore .prettierrc? how should i use it #12
Comments
Can't reproduce. Could you please provide a reproduction repo? |
The typescript file works this time 👍 (I think there must be some changes done in the past 2 months) However, the reproduction repo: |
Update: the solution is to restart vs codeI found that after we create |
Same thing for WebStorm if somebody wonders... |
It's enough to restart the eslint server in vscode, you don't have to restart the entire vscode. |
As this package only defines some simple eslint config, I believe this is no bug. It's normal that you have to restart the eslint server if you change the configuration. I think this should be closed. |
From my experience, for any vue project, eslint + prettier is a must and prettier config should be considered with higher priority.
I created a brand new project with
npm init vue@latest
, and I ticked eslint + prettier.I created a
.prettierrc
file in my vue project root foldernow my vscode starts complaining...
If i remove
'@vue/eslint-config-prettier',
from.eslintrc.js
, everything works normally again.so my question is why we have this plugin built-in in vue-cli, how should I use it.
@yyx990803 尤大
The text was updated successfully, but these errors were encountered: