Browse Source

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

Rotzbua 2 years ago
parent
commit
ca5b2373e8
1 changed files with 1 additions and 0 deletions
  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/**/*'],
 }