Skip to content

Commit 49985a6

Browse files
committed
Formatting rules
1 parent 65af8e2 commit 49985a6

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+
; Broken in Visual Studio
5+
;charset = utf-8
6+
trim_trailing_whitespace = true
7+
8+
[*.{yml,rul}]
9+
indent_style = space
10+
indent_size = 2
11+
12+
[*.{c,cpp,h,hpp}]
13+
indent_style = tab
14+
indent_brace_style = Allman
15+
insert_final_newline = true
16+
17+
[Makefile]
18+
indent_style = tab
19+
20+
[CMakeLists.txt]
21+
indent_style = space
22+
indent_size = 2

0 commit comments

Comments
 (0)