diff --git a/.editorconfig b/.editorconfig
index 1a59ed3f5756463975caf34318bcbbba2a9ac092..2e6f2e368ad02923ae1fe3dcc91e2fae970f512f 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,7 +6,7 @@ indent_style = tab
 indent_size = 4
 end_of_line = lf
 charset = utf-8
-trim_trailing_whitespace = false
+trim_trailing_whitespace = true
 insert_final_newline = true
 
 [*.yml]