Parsing error: No Babel config file detected for D:\xk-project\demo\vue.config.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint
There is always a wavy red line at the beginning
Solution:
.eslintrc.js file
Find the parserOptions object and add requireConfigFile: false to solve it perfectly
parserOptions: {
parser: '@babel/eslint-parser',
requireConfigFile: false// Parsing error: No Babel config file detected for C:\Users\XXXX\About.vue. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.eslint
},