diff --git a/.editorconfig b/.editorconfig
index 119b50a10d0035e09db0a3513fbfa5050963a4c0..2b1a9fb1f2ad3ca4d284901d2e798cd6052d5f96 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -4,3 +4,6 @@ insert_final_newline = true
 
 [*.php]
 indent_style = tab
+
+[*.js]
+indent_style = tab