From: Mauro Carvalho Chehab Date: Fri, 19 Jul 2024 05:36:17 +0000 (+0200) Subject: rasdaemon: add .editorconfig file to follow our coding style X-Git-Tag: v0.8.2~47 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7fd66c12c3cabc1d76e52174e9cd6af3133ea213;p=users%2Fmchehab%2Frasdaemon.git 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 --- 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 +