Skip to content

Commit 6330a41

Browse files
authored
Add .editorconfig file (#11883)
1 parent 229913e commit 6330a41

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*.{py,c,cpp,h,rst,md,yml,json}]
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true
6+
indent_style = space
7+
8+
[*.{py,c,h,json}]
9+
indent_size = 4
10+
11+
[*.yml]
12+
indent_size = 2

0 commit comments

Comments
 (0)