File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments