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

解决方法:
一.关闭ESlint

二.卸载ESlint

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

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

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

'space-before-function-paren':0
posted @ 2021-01-06 11:18  殷慈航  阅读(409)  评论(0编辑  收藏  举报