From 620abfff8aaaa8ace8e1406bfd7b46be31cc5eb0 Mon Sep 17 00:00:00 2001 From: schlessera Date: Sat, 27 May 2023 18:51:37 +0000 Subject: [PATCH] Update file(s) from wp-cli/.github --- .editorconfig | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index fa483b1bb..84f918ed5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,6 +4,8 @@ # WordPress Coding Standards # https://make.wordpress.org/core/handbook/coding-standards/ +# From https://github.com/WordPress/wordpress-develop/blob/trunk/.editorconfig with a couple of additions. + root = true [*] @@ -13,13 +15,12 @@ insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -[{.jshintrc,*.json,*.yml,*.feature}] +[{*.yml,*.feature,.jshintrc,*.json}] indent_style = space indent_size = 2 +[*.md] +trim_trailing_whitespace = false + [{*.txt,wp-config-sample.php}] end_of_line = crlf - -[composer.json] -indent_style = space -indent_size = 4