From ff5c1c1b5aad3378454b4f987641ee27183c78e3 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Thu, 25 Mar 2021 11:17:34 +0100 Subject: [PATCH] Add editorconfig file to maintain consistent coding styles --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..d769b46a4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +; top-most EditorConfig file +root = true + +; Unix-style newlines +[*] +charset = utf-8 +end_of_line = LF +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{php,html,twig}] +indent_style = space +indent_size = 4 + +[*.md] +max_line_length = 80 + +[COMMIT_EDITMSG] +max_line_length = 0