提示:
The setting is deprecated. Use editor.codeActionsOnSave instead with a source.fixAll.eslint member.
意思是:此配置已作废,使用editor.codeActionsOnSave,里面配置source.fixAll.eslint 属性
把"eslint.autoFixOnSave": true 改成:
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},