File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
34
45root = true
56
67[* ]
7- charset = utf-8
8- indent_size = 4
8+ # Change these settings to your own preference
99indent_style = space
10+ indent_size = 4
11+
12+ # We recommend you to keep these unchanged
1013end_of_line = lf
11- insert_final_newline = true
14+ charset = utf-8
1215trim_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
1325
1426[* .md ]
1527trim_trailing_whitespace = false
16- max_line_length = 80
1728
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
2040
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
2248indent_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