Skip to content

Commit 6fde665

Browse files
aswinmohanmearcuru
authored andcommitted
Add .editorConfig for consistency (#104)
Refrence Issue #92
1 parent b8fd6d0 commit 6fde665

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
#Editor Config is So awesome
3+
4+
#Indicate this is the config of the root
5+
root = true
6+
7+
# Apply the following rules to these file types
8+
[{*.{cpp,cc,c,h,hpp,txt}}]
9+
end_of_line = lf #Unix type line endings
10+
insert_final_newline = true
11+
indent_style = space
12+
indent_size = 4
13+
trim_trailing_whitespace = true
14+
15+
#Separate Config for YML files
16+
[*.yml]
17+
end_of_line = lf
18+
insert_final_newline = true
19+
indent_style = space
20+
indent_size = 2
21+
trim_trailing_whitespace = true

0 commit comments

Comments
 (0)