Skip to content

Commit d4d9597

Browse files
committed
add .editorconfig
1 parent ed47eca commit d4d9597

File tree

3 files changed

+249
-205
lines changed

3 files changed

+249
-205
lines changed

scanner/.editorconfig

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Top-most EditorConfig file
2+
root = true
3+
4+
# General settings for all files
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
# Settings for C++ source files
12+
[*.cpp]
13+
indent_style = space
14+
indent_size = 4
15+
max_line_length = 120
16+
17+
# Settings for C++ header files
18+
[*.hpp]
19+
indent_style = space
20+
indent_size = 4
21+
max_line_length = 120
22+
23+
# Settings for header files with other extensions
24+
[*.h]
25+
indent_style = space
26+
indent_size = 4
27+
max_line_length = 120
28+
29+
# Settings for build scripts like Makefiles
30+
[Makefile]
31+
indent_style = tab
32+
33+
# Configuration files like .editorconfig, .gitignore, etc.
34+
[*.{editorconfig,gitignore}]
35+
indent_style = space
36+
indent_size = 2
37+

0 commit comments

Comments
 (0)