ESLint問題記錄

1、報錯:ESLint: Unexpected string concatenation. (prefer-template) 原因ES6規則:表現符號錯誤,應該爲Tab鍵上方的·   ,修改如下:    2、報錯:ESLint: Expected property shorthand. (object-shorthand) 原因爲:eslint:需要屬性速記。(對象速記),變量名重名,修改變量名
相關文章
相關標籤/搜索