From 6fe43b6835a24bbbd8129fd4de18d10a897811ba Mon Sep 17 00:00:00 2001 From: "Wesley F. Young" Date: Thu, 5 Sep 2024 22:26:22 +0800 Subject: [PATCH] chore: make json indent 2 --- .editorconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index e73bbcf5..b0eb25c4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,10 +13,14 @@ insert_final_newline = true charset = utf-8 # 2 space indentation -[*.{cjs,mjs,js,jsx,ts,tsx,css,scss,sass,html,json}] +[*.{cjs,mjs,js,jsx,ts,tsx,css,scss,sass,html}] indent_style = space indent_size = 4 +[*.json] +indent_style = space +indent_size = 2 + [*.bat] charset = latin1