Skip to content

Commit 95b9aac

Browse files
committed
[skip ci] Add .editorconfig
1 parent 38fd332 commit 95b9aac

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.editorconfig

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Configuration file for EditorConfig, see https://EditorConfig.org
2+
3+
# Ignore any other files further up in the file system
4+
root = true
5+
6+
# All files:
7+
[*]
8+
# Let git determine line ending: end_of_line = lf
9+
charset = utf-8
10+
indent_size = 4
11+
indent_style = space
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
# Markdown files: keep trailing space-pair as line-break
16+
[*.md]
17+
trim_trailing_whitespace = false
18+
19+
# Python scripts:
20+
[*.py]
21+
22+
# YAML scripts:
23+
[*.yml]
24+
indent_size = 2
25+
26+
# Makefiles: Tab indentation (no size specified)
27+
[Makefile]
28+
indent_style = tab
29+
30+
# C, C++ source files:
31+
[*.{h,hpp,c,cpp}]

0 commit comments

Comments
 (0)