From b59fa4682db4b6c8ea1548ecf98e805b7b6cb6c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Tue, 17 May 2022 15:34:40 +0200 Subject: [PATCH] added .editorconfig. !minor --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b70b9b1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true +end_of_line = lf +charset = utf-8 +max_line_length = 88 + +[*.{yml,yaml,json,js,css,html}] +indent_size = 2 + +[*.{md,rst}] +trim_trailing_whitespace = false + +# tabs 2 spaces for makefiles +[Makefile] +indent_style = tab +indent_size = 2