Pārlūkot izejas kodu

feat(webapp): add eslint rule for mustache style

Effect: grant uniform style
Reference: https://eslint.vuejs.org/rules/mustache-interpolation-spacing.html
Rotzbua 2 gadi atpakaļ
vecāks
revīzija
40afecb91d
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      www/webapp/.eslintrc.js

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

@@ -17,6 +17,8 @@ module.exports = {
     'vue/v-bind-style': 'warn',
     'vue/v-on-style': 'warn',
     'vue/v-slot-style': 'warn',
+    'vue/mustache-interpolation-spacing': ['warn', 'always'],
+    'vue/no-multi-spaces': 'warn',
   },
   ignorePatterns: ['**/src/modules/**/*'],
   parserOptions: {