Skip to content

Commit b195db0

Browse files
authored
Create .editorconfig
1 parent 21492d3 commit b195db0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

parser/.editorconfig

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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

0 commit comments

Comments
 (0)