From fddfb9e1cf22ac1f552887eec76f521253ef0c3e Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Wed, 14 Oct 2020 21:13:47 +0300 Subject: [PATCH] add .editorconfig --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6af5e97 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# top-most EditorConfig file +root = true + +# 'insert_final_newline = false' should not remove last empty line + +[*] +charset = utf-8 +end_of_line = lf +indent_style = tab +trim_trailing_whitespace = true +insert_final_newline = true + +[*.php] +insert_final_newline = false + +[*.md] +trim_trailing_whitespace = false + +[/version.txt] +insert_final_newline = false