Skip to content

Commit 8c75b1b

Browse files
committed
chore: editorconfig
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 539b57a commit 8c75b1b

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.editorconfig

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
insert_final_newline = true
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
end_of_line = lf
10+
11+
[*.py]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.{yml,yaml}]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[*.toml]
20+
indent_style = space
21+
indent_size = 2
22+
23+
[*.md]
24+
charset = latin1
25+
indent_style = space
26+
indent_size = 2
27+
# 2 trailing spaces indicate line breaks.
28+
trim_trailing_whitespace = false
29+
30+
[*.{rst,txt}]
31+
indent_style = space
32+
indent_size = 4
33+
34+
[*.ini]
35+
charset = latin1
36+
indent_style = space
37+
indent_size = 4

0 commit comments

Comments
 (0)