From 99e4cb9ceed91d19701318177b00a32eb868f7a5 Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Mon, 2 Mar 2020 09:18:26 +0000 Subject: [PATCH] Bug 24774: Set JSON indentation of 2 spaces in .editorconfig To test: 1. Start an editor that supports .editorconfig 2. Open or create a JSON file 3. Observe identation is set to 2 spaces by default Sponsored-by: Hypernova Oy --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 95c4e456ab..569457ec6a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,3 +10,6 @@ indent_style = space indent_size = 4 # New files charset should be UTF-8 charset = utf-8 + +[*.json] +indent_size = 2 -- 2.17.1