-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.editorconfig
More file actions
30 lines (24 loc) · 777 Bytes
/
.editorconfig
File metadata and controls
30 lines (24 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# All PHP files MUST use the Unix LF (linefeed) line ending.
# Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting.
# All PHP files MUST end with a single blank line.
# There MUST NOT be trailing whitespace at the end of non-blank lines.
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
# PHP-Files, Composer.json, MD-Files
[{*.php,composer.json,*.md}]
indent_size = 4
# HTML-Files LESS-Files SASS-Files CSS-Files JS-Files JSON-Files
[{*.html,*.less,*.sass,*.css,*.js,*.json}]
indent_size = 4
# Gitlab-CI, Travis-CI
[{*.yml,*.yaml}]
indent_size = 2
[*.md]
trim_trailing_whitespace = false