CodePudding user response:
//code stored, automated ESlint formatting code
"Editor. CodeActionsOnSave" : {
"Source. FixAll. Eslint" : true,
},
//add eslint automatic formatting support
"Eslint. Validate" :
"Javascript."
"Javascriptreact,"
"Typescript,"
"Vue
"//{
//"language" : "typescript,"
//"autoFix" : true
//}
],
"Eslint. CodeActionsOnSave. Mode" : "all",