summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: d59bc10e7a7e1e06bdd6358ae41ce6108d749986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# SPDX-FileCopyrightText: 2021 Emmanuele Bassi
#
# SPDX-License-Identifier: CC0-1.0

root = true

[*]
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

[meson.build]
indent_size = 2

[*.c]
indent_size = 4
max_line_length = 80

[*.h]
indent_size = 8
max_line_length = 120

[*.py]
indent_size = 4
max_line_length = 120
balanced_wrapping = true
not_skip = __init__.py

[*.json]
indent_size = 2

[*.md]
max_line_length = 79

[*.xml]
indent_size = 2

[*.its]
indent_size = 2