From 6b27d8ca7e4b8f00d19f0f3ed8778321b643844b Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Tue, 29 Nov 2022 08:33:23 +0900 Subject: [PATCH] fix(editorconfig): use `trim_trailing_whitespace` instead of `trim_trailing_spaces` See --- .editorconfig | 3 ++- test/__snapshots__/init.test.js.snap | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index f5d5b2af..f5f688c5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,4 @@ +# editorconfig.org root = true [*] @@ -11,4 +12,4 @@ max_line_length = 100 # trailing spaces in markdown indicate word wrap [*.md] -trim_trailing_spaces = false +trim_trailing_whitespace = false diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index 7ba60728..39b7b950 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -138,7 +138,8 @@ exports[`update "package.json" without fields 1`] = ` `; exports[`write ".editorconfig" 1`] = ` -"root = true +"# editorconfig.org +root = true [*] end_of_line = lf @@ -151,7 +152,7 @@ max_line_length = 100 # trailing spaces in markdown indicate word wrap [*.md] -trim_trailing_spaces = false +trim_trailing_whitespace = false " `;