From 3e075cdb0adb89a7d57e39351a3aedec9cf967ec Mon Sep 17 00:00:00 2001 From: LitoMore Date: Mon, 7 Jul 2025 19:58:29 +0800 Subject: [PATCH] chore: fix file format & use .gitattributes (#4082) --- .editorconfig | 18 +++++++++--------- .gitattributes | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig index cf640d53f..9d08a1a82 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,9 +1,9 @@ -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true \ No newline at end of file +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..6313b56c5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf