Closed as not planned
Description
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 folder
{
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "all",
"semi": false,
"useTabs": false,
}
now 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 尤大
Metadata
Metadata
Assignees
Labels
No labels