From f37f409c9c283a3929997702b481a80804391856 Mon Sep 17 00:00:00 2001 From: Wang Zichong Date: Tue, 19 Nov 2024 20:21:13 +0800 Subject: [PATCH] chore: add .editorconfig file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 帮助删除尾部空格,以及追加文件末空行。需要 IDE 支持(VSCode 插件即可) Log: --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..5b25ccdba --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. +# +# SPDX-License-Identifier: CC0-1.0 + +root = true + +[*.{cpp,h,qml}] +trim_trailing_whitespace = true +insert_final_newline = true