From: Simon Marchi Date: Wed, 14 Apr 2021 18:49:54 +0000 (-0400) Subject: Add .editorconfig file X-Git-Tag: v2.13.0-rc1~48 X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=242b29ad22528eeff0f1b358eebd7ad8fff3df05 Add .editorconfig file 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 --- 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