diff --git a/.editorconfig b/.editorconfig index 98b0c57dbb1fa..beb6f6e8573ca 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,3 +8,6 @@ end_of_line = lf insert_final_newline = true indent_style = space indent_size = 4 + +[*.{js,mjs,cjs,jsx,ts,tsx,json,yml}] +indent_size = 2