Browse Source

feat(webapp): add more lint rules

Rotzbua 2 years ago
parent
commit
19963d665e
1 changed files with 4 additions and 1 deletions
  1. 4 1
      www/webapp/.eslintrc.js

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

@@ -12,7 +12,10 @@ module.exports = {
   rules: {
     'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
     'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
-    'vue/multi-word-component-names': 'off'
+    'vue/multi-word-component-names': 'off',
+    'vue/v-bind-style': 'warn',
+    'vue/v-on-style': 'warn',
+    'vue/v-slot-style': 'warn',
   },
   ignorePatterns: ['**/src/modules/**/*'],
   parserOptions: {