導入 ESLint 學習心得

若要允許 html 使用全形空白及 import xxx.vue 檔名使用中文命名,修改 package.json 如下
"eslintConfig": {
  "rules": {
    "no-irregular-whitespace": 0 <= 為了使用全形空白
    "vue/multi-word-component-names": 0 <= 為了使用中文命名
  }
}

留言

熱門文章