Skip to content

Commit ee0081f

Browse files
committed
introduce .editorconfig file
1 parent 378fd11 commit ee0081f

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

elao.app/.editorconfig.dist

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
insert_final_newline = true
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 4
10+
11+
################
12+
# Common files #
13+
################
14+
15+
[Makefile]
16+
indent_style = tab
17+
18+
[*.php]
19+
indent_size = 4
20+
max_line_length = 120
21+
22+
[*.{css,sass,scss}]
23+
indent_size = 2
24+
max_line_length = 120
25+
26+
[*.js]
27+
indent_size = 2
28+
max_line_length = 120
29+
30+
[*.{html,xml}]
31+
indent_size = 4
32+
33+
[*.json]
34+
indent_size = 4
35+
36+
[*.md]
37+
trim_trailing_whitespace = false # keep end of line double-space for markdown EOL
38+
max_line_length = 120 # wrap after X chars
39+
40+
[*.{yaml,yml}]
41+
indent_size = 2
42+
43+
###########
44+
# Symfony #
45+
###########
46+
47+
[*.twig]
48+
indent_size = 4
49+
50+
[config/*.{yaml,yml,xml}]
51+
indent_size = 4
52+
53+
[translations/*.{yaml,yml,xml}]
54+
indent_size = 4

0 commit comments

Comments
 (0)