فهرست منبع

Настройка eslint

Book Pauk 3 سال پیش
والد
کامیت
4e9c69a1cf
1فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
  1. 5 3
      .eslintrc

+ 5 - 3
.eslintrc

@@ -23,9 +23,11 @@
     "LM_TOTAL": false
   },
   "rules": {
-    "vue/html-indent": ["error", 4],
-    "vue/max-attributes-per-line": 0,
-    "vue/html-self-closing": 0,
+    "vue/html-indent": ["warn", 4, {
+      "alignAttributesVertically": false
+    }],
+    "vue/max-attributes-per-line": "off",
+    "vue/html-self-closing": "off",
 
     "strict": 0,
     "indent": [0, 4, {