ESLint问题记录

1、报错:ESLint: Unexpected string concatenation. (prefer-template) 原因ES6规则:表现符号错误,应该为Tab键上方的·   ,修改如下:    2、报错:ESLint: Expected property shorthand. (object-shorthand) 原因为:eslint:需要属性速记。(对象速记),变量名重名,修改变量名
相关文章
相关标签/搜索