Skip to content

Commit 77f37c1

Browse files
committed
Add .editorconfig
1 parent 1765d72 commit 77f37c1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[Makefile]
14+
indent_style = tab
15+
16+
[*.lua]
17+
indent_style = space
18+
indent_size = 2
19+
# Code should stay below 80 characters per line.
20+
max_line_length = 80
21+
22+
[*.md]
23+
# Text with 60 to 66 characters per line is said to be the easiest
24+
# to read.
25+
max_line_length = 66

0 commit comments

Comments
 (0)