File tree 1 file changed +55
-9
lines changed
1 file changed +55
-9
lines changed Original file line number Diff line number Diff line change 1
- ; This file is for unifying the coding style for different editors and IDEs.
2
- ; More information at http://editorconfig.org
1
+ # EditorConfig helps developers define and maintain consistent
2
+ # coding styles between different editors and IDEs
3
+ # editorconfig.org
3
4
4
5
root = true
5
6
6
7
[* ]
7
- charset = utf-8
8
- indent_size = 4
8
+ # Change these settings to your own preference
9
9
indent_style = space
10
+ indent_size = 4
11
+
12
+ # We recommend you to keep these unchanged
10
13
end_of_line = lf
11
- insert_final_newline = true
14
+ charset = utf-8
12
15
trim_trailing_whitespace = true
16
+ insert_final_newline = true
17
+
18
+ [* .{js,html} ]
19
+ indent_style = space
20
+ indent_size = 2
21
+
22
+ [* .json ]
23
+ indent_style = space
24
+ indent_size = 2
13
25
14
26
[* .md ]
15
27
trim_trailing_whitespace = false
16
- max_line_length = 80
17
28
18
- [Makefile ]
19
- indent_style =tab
29
+ [* .php ]
30
+ indent_style = space
31
+ indent_size = 4
32
+
33
+ [* .sh ]
34
+ indent_style = tab
35
+ indent_size = 4
36
+
37
+ [* .xml{,.dist} ]
38
+ indent_style = space
39
+ indent_size = 4
20
40
21
- [* .yml ]
41
+ [* .{yaml,yml} ]
42
+ indent_style = space
43
+ indent_size = 4
44
+ trim_trailing_whitespace = false
45
+
46
+ [.github/workflows/* .yml ]
47
+ indent_style = space
22
48
indent_size = 2
49
+
50
+ [.php_cs{,.dist} ]
51
+ indent_style = space
52
+ indent_size = 4
53
+
54
+ [.travis.yml ]
55
+ indent_style = space
56
+ indent_size = 2
57
+
58
+ [composer.json ]
59
+ indent_style = space
60
+ indent_size = 4
61
+
62
+ [docker-compose{,.* }.{yaml,yml} ]
63
+ indent_style = space
64
+ indent_size = 2
65
+
66
+ [Dockerfile ]
67
+ indent_style = tab
68
+ indent_size = 4
You can’t perform that action at this time.
0 commit comments