From e410a58ccb6ed6b56d80c0de6a93704c15f3aef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=B3=C5=82kowski?= Date: Tue, 13 Apr 2021 11:34:19 +0200 Subject: [PATCH] Gutenberg Plugin: Updated `.editorconfig` files to work with automatic file formatting (#30794) * Gutenberg Plugin: Updated `.editorconfig` files to work with automatic file formatting * Update CHANGELOG.md --- .editorconfig | 7 ------- packages/create-block/CHANGELOG.md | 4 ++++ .../create-block/lib/templates/es5/.editorconfig.mustache | 7 ------- .../lib/templates/esnext/.editorconfig.mustache | 7 ------- 4 files changed, 4 insertions(+), 21 deletions(-) diff --git a/.editorconfig b/.editorconfig index 2f3fbe64be9f7d..0cdfc80277e889 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,13 +13,6 @@ insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -[*.yml] -indent_style = space -indent_size = 2 - -[*.md] -trim_trailing_whitespace = false - [*.{gradle,java,kt}] indent_style = space diff --git a/packages/create-block/CHANGELOG.md b/packages/create-block/CHANGELOG.md index f5f440220b8c0b..f80c07c56306c1 100644 --- a/packages/create-block/CHANGELOG.md +++ b/packages/create-block/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Enhancement + +- Updated `.editorconfig` template files to work with automatic file formatting ([#30794](https://github.com/WordPress/gutenberg/pull/30794)). + ## 2.2.0 (2021-04-06) ### Enhancement diff --git a/packages/create-block/lib/templates/es5/.editorconfig.mustache b/packages/create-block/lib/templates/es5/.editorconfig.mustache index a541e47e767bca..7cae5d565e1ae2 100644 --- a/packages/create-block/lib/templates/es5/.editorconfig.mustache +++ b/packages/create-block/lib/templates/es5/.editorconfig.mustache @@ -12,10 +12,3 @@ 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 diff --git a/packages/create-block/lib/templates/esnext/.editorconfig.mustache b/packages/create-block/lib/templates/esnext/.editorconfig.mustache index a541e47e767bca..7cae5d565e1ae2 100644 --- a/packages/create-block/lib/templates/esnext/.editorconfig.mustache +++ b/packages/create-block/lib/templates/esnext/.editorconfig.mustache @@ -12,10 +12,3 @@ 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