Skip to content

Commit 76ecc2d

Browse files
Merge pull request #28 from Leothosine/chore/editorconfig
chore: add .editorconfig for consistent formatting rules
2 parents 541e8d2 + c8784a0 commit 76ecc2d

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = space
7+
indent_size = 2
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.go]
12+
indent_style = tab
13+
indent_size = 4
14+
15+
[*.py]
16+
indent_size = 4
17+
18+
[Makefile]
19+
indent_style = tab
20+
21+
[*.md]
22+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)