diff --git a/web-vue/.eslintrc.json b/web-vue/.eslintrc.json index 70abb2fa4..917153a8b 100644 --- a/web-vue/.eslintrc.json +++ b/web-vue/.eslintrc.json @@ -28,6 +28,8 @@ // 禁止使用 var,而应该用 let 或 const "no-var": "error", "@typescript-eslint/no-unused-vars": ["error", { "args": "none" }], - "vue/multi-word-component-names": "off" + "vue/multi-word-component-names": "off", + // 处理换行 + "endOfLine": 0 } } diff --git a/web-vue/.prettierrc.json b/web-vue/.prettierrc.json index 8483d8a50..33875d9cf 100644 --- a/web-vue/.prettierrc.json +++ b/web-vue/.prettierrc.json @@ -1,7 +1,7 @@ { "semi": false, "singleQuote": true, - "endOfLine": "lf", + "endOfLine": "auto", "proseWrap": "never", "printWidth": 120, "trailingComma": "none"