diff --git a/.editorconfig b/.editorconfig index 1cbc8fe30..58db51158 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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