Vue CLI 3.0 eslint rules are not recognized by vscode

because the .eslintrc configuration is placed in package.json, vscode cannot read the eslint configuration, so the code cannot be formatted.

how can I configure it?

Menu