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
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Lari Taskula 2020-03-02 09:18:26 +00:00 committed by Martin Renvoize
parent b626f656a8
commit 41931c1b63
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -10,3 +10,6 @@ indent_style = space
indent_size = 4
# New files charset should be UTF-8
charset = utf-8
[*.json]
indent_size = 2