VUE处理项目中的ESLint语法报错问题

解决方法:
一.关闭ESlint

二.卸载ESlint

三.修改VScode语法规则
1.在根目录创建.prettierrc文件,使用单引号并且大括号后不使用分号。

{
    "semi":false,
    "singleQuote": true
}

2.在.eslintrc.js中的rules添加不校验规则

'space-before-function-paren':0
原文地址:https://www.cnblogs.com/jiyuwu/p/14240000.html