Skip to content

Commit 3df5403

Browse files
committed
Add editorconfig file.
1 parent cdb2284 commit 3df5403

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.editorconfig

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

0 commit comments

Comments
 (0)