diff --git a/.editorconfig b/.editorconfig index 97b427d..8852310 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,7 +1,10 @@ +root = true +[*] +end_of_line = lf + [*.{js,jsx,ts,tsx,vue}] indent_style = space indent_size = 4 -end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true max_line_length = 120 diff --git a/.prettierrc.json b/.prettierrc.json index 0412288..75a20a2 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -8,5 +8,6 @@ "jsxSingleQuote": false, "bracketSameLine": false, "jsxBracketSameLine": false, - "trailingComma": "all" + "trailingComma": "all", + "endOfLine": "lf" } diff --git a/.vscode/settings.json b/.vscode/settings.json index 0ecacd0..7f869dd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,6 @@ "source.fixAll": "explicit" }, "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "esbenp.prettier-vscode", + "files.eol": "\n" }