Skip to content

Commit 8edff10

Browse files
committed
add .editorconfig
https://editorconfig.org/
1 parent 4139898 commit 8edff10

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.editorconfig

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# https://editorconfig.org/
2+
3+
root = true
4+
5+
[*]
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
indent_style = space
11+
indent_size = 4
12+
13+
[{CMakeLists.*,*.cmake}]
14+
indent_style = space
15+
indent_size = 2
16+
17+
[Makefile]
18+
indent_style = tab
19+
20+
[*.{bat,cmd,cmd.*}]
21+
end_of_line = crlf
22+
indent_style = space
23+
indent_size = 2
24+
25+
[*.{ps1,ps1.*}]
26+
end_of_line = crlf
27+
indent_style = space
28+
indent_size = 4
29+
30+
[*.{md,markdown}]
31+
indent_size = 2

0 commit comments

Comments
 (0)