소스 검색

feat(webapp): add more lint rules

Rotzbua 2 년 전
부모
커밋
19963d665e
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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: {