.editorconfig: bunch of additions

Formats:
- Restructured Text
- JSON
- MarkDown

Specific Files:
- .ecrc
- CMakeLists.txt

Ignore:
- /patches/ directory, we will not be editing foreign patches for their
  indentation
This commit is contained in:
Martin Weinelt 2020-09-07 15:09:51 +02:00
parent 24a21336d8
commit 3b9aebf13b
1 changed files with 21 additions and 1 deletions

View File

@ -7,10 +7,30 @@ insert_final_newline = true
indent_style = tab
charset = utf-8
[*.yml]
[/patches/**]
indent_style = unset
indent_size = unset
[*{.json,.ecrc}]
indent_style = space
indent_size = 2
[*.md]
indent_style = space
indent_size = 4
[*.py]
indent_style = space
indent_size = 4
[*.rst]
indent_style = space
indent_size = 3
[*.yml]
indent_style = space
indent_size = 2
[CMakeLists.txt]
indent_style = space
indent_size = 2