From 490e08e840dccf59a91278d2c13ecce4b0aeb0f2 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Thu, 10 Sep 2020 10:19:18 +0300 Subject: [PATCH] Add WP file formatting guide --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..1052c4878 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# See https://make.wordpress.org/core/handbook/coding-standards/ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab + +[*.yml] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false