浏览代码

feat(webapp): add eslint to match component and filename

Rotzbua 2 年之前
父节点
当前提交
ca5b2373e8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      www/webapp/.eslintrc.js

+ 1 - 0
www/webapp/.eslintrc.js

@@ -38,6 +38,7 @@ module.exports = {
     'vue/no-deprecated-filter': 'warn', // Preparation for vue3
     'vue/no-deprecated-v-on-number-modifiers': 'warn', // Preparation for vue3
     'vue/no-deprecated-html-element-is': 'warn', // Preparation for vue3
+    'vue/match-component-file-name': ['error', {'extensions': ['vue'], 'shouldMatchCase': true}],
   },
   ignorePatterns: ['**/src/modules/**/*'],
 }