diff --git i/.editorconfig w/.editorconfig
index 0ee9bd28ac..07e1bd0af6 100644
--- i/.editorconfig
+++ w/.editorconfig
@@ -53,6 +53,13 @@ indent_style = space
 tab_width = unset
 indent_size = 1
 
+[*.spec]
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+tab_width = unset
+indent_size = 4
+
 [*.xml]
 trim_trailing_whitespace = true
 insert_final_newline = true
