// 报问题 Vue
// warning Replace `xxx` with `“xxx“` prettier/prettier
// 配置 .prettierrc
{
"singleQuote": true,
"semi": false,
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "ignore",
"arrowParens": "avoid"
}
// 执行
$ npm run lint --fix
// 重启编辑器
// OR
// 配置 package.json 修改 rules
"rules": {
"semi": 0,
"quotes": 0,
...
}
https://zhuanlan.zhihu.com/p/359191163