Skip to content

Commit

Permalink
chore(editorcfg): keep eol whitespace in tests (#11007)
Browse files Browse the repository at this point in the history
Keep editor from removing trailing whitespace in format test files and
snapshots.
  • Loading branch information
adalinesimonian committed Jun 16, 2021
1 parent 57616ad commit bcdc895
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Expand Up @@ -14,3 +14,9 @@ insert_final_newline = false

[website/blog/*.md]
trim_trailing_whitespace = false

[tests/{**/__snapshots__/*, tests/format/**/*}]
trim_trailing_whitespace = false

[tests/format/**/jsfmt.spec.js]
trim_trailing_whitespace = true

0 comments on commit bcdc895

Please sign in to comment.