ecformat 0.1.0

command line tool to keep files correct in respect of your EditorConfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-FileCopyrightText: NONE
#
# SPDX-License-Identifier: CC0-1.0

root = true

# Default for all file types
[*]
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true

# Tree like formats with only 2 spaces, because of deeper structures.
[*.{bib,json,html,xml,xhtml,yml,yaml}]
indent_size = 2