From 7fd66c12c3cabc1d76e52174e9cd6af3133ea213 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 19 Jul 2024 07:36:17 +0200 Subject: [PATCH] rasdaemon: add .editorconfig file to follow our coding style That helps keeping the coding style, as lots of editors support this file. Signed-off-by: Mauro Carvalho Chehab --- .editorconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8820b74 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0-only + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*/contrib] +indent_style = tab +indent_size = 8 + +[{*.{c,h,pl,sh},Makefile.am}] +indent_style = tab +indent_size = 8 + +[*.yml,labels/*,configure.ac] +indent_style = space +indent_size = 2 + +[*.py,ras-mc-ctl.in] +indent_style = space +indent_size = 4 +