From 7090b3229ee0769dd81de0d94b5a8d64add2dd65 Mon Sep 17 00:00:00 2001 From: overlookmotel Date: Mon, 25 Nov 2024 08:33:39 +0000 Subject: [PATCH] ci(dev): fix `.editorconfig` (#7457) #7401 set indent to 4 spaces in `.editorconfig`. But our convention is 2 spaces for JS, YAML and JSON files. Update `.editorconfig` to reflect this. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) 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