소스 검색

Настройка 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, {