From 2a01969c96074b53a01c9fa37f93b699027e9e4d Mon Sep 17 00:00:00 2001 From: Peter Knut Date: Mon, 26 Aug 2024 00:55:25 +0200 Subject: [PATCH] Add .editorconfig file Thanks to cweiske (https://github.com/adminerevo/adminerevo/pull/163). --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..b67cfe0d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# https://editorconfig.org/ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{php,css,js}] +indent_style = tab + +[*.json] +indent_style = space +indent_size = 4 + +[*.md] +indent_style = space +trim_trailing_whitespace = false +max_line_length = 120