Skip to content

Commit 98cb16a

Browse files
authored
Add .editorconfig for consistent coding styles
1 parent 09e4095 commit 98cb16a

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.editorconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 2
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.py]
15+
indent_size = 4
16+
17+
[*.rs]
18+
indent_size = 4
19+
20+
[*.yml]
21+
indent_size = 2
22+
23+
[*.yaml]
24+
indent_size = 2
25+
26+
[*.json]
27+
indent_size = 2
28+
29+
[*.toml]
30+
indent_size = 2

0 commit comments

Comments
 (0)