Skip to content

Commit

Permalink
fix(editorconfig): use trim_trailing_whitespace instead of `trim_tr…
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Nov 28, 2022
1 parent 4fae636 commit 6717182
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# editorconfig.org
root = true

[*]
Expand All @@ -11,4 +12,4 @@ max_line_length = 100

# trailing spaces in markdown indicate word wrap
[*.md]
trim_trailing_spaces = false
trim_trailing_whitespace = false
5 changes: 3 additions & 2 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -151,7 +152,7 @@ max_line_length = 100
# trailing spaces in markdown indicate word wrap
[*.md]
trim_trailing_spaces = false
trim_trailing_whitespace = false
"
`;

Expand Down

0 comments on commit 6717182

Please sign in to comment.