Skip to content

Commit c0403e7

Browse files
committed
Add editorconfig
1 parent 0cb8cff commit c0403e7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# https://editorconfig.org/
2+
3+
root = true
4+
5+
[*]
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
end_of_line = lf
9+
charset = utf-8
10+
tab_width = 4
11+
indent_style = space
12+
13+
[*.php]
14+
indent_size = 4
15+
16+
[*{.xml, .dist}]
17+
indent_size = 4
18+
19+
[*.md]
20+
max_line_length = 80
21+
22+
[*{.yaml, .yml}]
23+
indent_size = 2
24+
25+
[*.json]
26+
indent_size = 4

0 commit comments

Comments
 (0)