Browse Source

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>
tags/v20.05.00
Lari Taskula 1 year ago
parent
commit
41931c1b63
Signed by: martin.renvoize <martin.renvoize@ptfs-europe.com> GPG Key ID: 422B469130441A0F
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      .editorconfig

+ 3
- 0
.editorconfig 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

Loading…
Cancel
Save