From 242b29ad22528eeff0f1b358eebd7ad8fff3df05 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 14 Apr 2021 14:49:54 -0400 Subject: [PATCH] Add .editorconfig file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Many editors support reading this file to automatically configure indent / whitespace settings. The author of this patch would be extremely grateful if the maintainer of the project would consider merging the patch in the master branch of the project's repository. Change-Id: I84ae62fe3e028d0d40421943b3a53207854efed7 Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..8b16dce81 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-only + +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 8 +tab_width = 8 +charset = utf-8 + +[*.py] +indent_style = space +indent_size = 4 -- 2.34.1