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