From 5d51793771c3d927ef9c501b527ea42d30c9838c Mon Sep 17 00:00:00 2001 From: schlessera Date: Sun, 28 May 2023 04: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 fa483b1..84f918e 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