From 35eafbb065774c7ea66cb87f3366cdd25b32ee7c Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail> Date: 星期四, 13 四月 2023 18:19:15 +0800 Subject: [PATCH] add editorconfig --- .editorconfig | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7034f9b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# 鍛婅瘔EditorConfig鎻掍欢锛岃繖鏄牴鏂囦欢锛屼笉鐢ㄧ户缁線涓婃煡鎵� +root = true + +# 鍖归厤鍏ㄩ儴鏂囦欢 +[*] +# 璁剧疆瀛楃闆� +charset = utf-8 +# 缂╄繘椋庢牸锛屽彲閫塻pace銆乼ab +indent_style = space +# 缂╄繘鐨勭┖鏍兼暟 +indent_size = 2 +# 缁撳熬鎹㈣绗︼紝鍙�塴f銆乧r銆乧rlf +end_of_line = lf +# 鍦ㄦ枃浠剁粨灏炬彃鍏ユ柊琛� +insert_final_newline = true +# 鍒犻櫎涓�琛屼腑鐨勫墠鍚庣┖鏍� +trim_trailing_whitespace = true + +# 鍖归厤md缁撳熬鐨勬枃浠� +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false -- Gitblit v1.9.3