From 7302a4743a45533ec21d28dc7b8344d1faacd539 Mon Sep 17 00:00:00 2001 From: schlessera Date: Sat, 27 May 2023 15:31:42 +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