diff --git a/.editorconfig b/.editorconfig
index f3a57902f3694d2175e3f4e8d4792fbb88777318..b2d05ff4989c51d087269c5bf54552a02477bd9e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -2,14 +2,14 @@
 
 # top-most EditorConfig file
 root = true
-charset = utf-8
-
-# Get rid of whitespace to avoid diffs with a bunch of EOL changes
-trim_trailing_whitespace = true
 
 [*]
 end_of_line = lf
 insert_final_newline = true
+charset = utf-8
+
+# Get rid of whitespace to avoid diffs with a bunch of EOL changes
+trim_trailing_whitespace = true
 
 [*.{js,html,scss,json,yml,md}]
 indent_size = 2