自己的vscode-settings.json配置详解(3)
发布时间:2020-05-10 20:05 所属栏目:53 来源:站长网
导读:{ "[javascript]": { "editor.defaultFormatter": "HookyQR.beautify" }, "[html]": { "editor.defaultFormatter": "HookyQR.beautify" }, "eslint.validate": [ "javascript", "javascriptreact", "vue-html", { "
{ "[javascript]": { "editor.defaultFormatter": "HookyQR.beautify" }, "[html]": { "editor.defaultFormatter": "HookyQR.beautify" }, "eslint.validate": [ "javascript", "javascriptreact", "vue-html", { "language": "vue", "autoFix": true } ], "eslint.run": "onSave", "eslint.autoFixOnSave": true, "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, } VS code还可以指定ESLint的格式文件 (编辑:ASP站长网) |
相关内容
网友评论
推荐文章
热点阅读