forked from marcBiason33/bookApi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
41 lines (32 loc) · 875 Bytes
/
.editorconfig
File metadata and controls
41 lines (32 loc) · 875 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
31
32
33
34
35
36
37
38
39
40
41
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# All PHP files MUST use the Unix LF (linefeed) line ending.
[*]
charset = utf-8
end_of_line = lf
# All PHP files MUST end with a single blank line.
insert_final_newline = true
# There MUST NOT be trailing whitespace at the end of non-blank lines.
trim_trailing_whitespace = true
# PHP-Files
[*.php]
# Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting.
indent_style = space
indent_size = 4
# HTML-Files LESS-Files SASS-Files CSS-Files JS-Files JSON-Files
[{*.html,*.less,*.sass,*.css,*.js,*.json}]
indent_style = tab
indent_size = 4
# MD-Files
[*.md]
indent_style = space
indent_size = 4
# composer.json or .travis.yml
[{composer.json,.travis.yml}]
indent_style = space
indent_size = 2
# Vagrantfile
[Vagrantfile]
indent_style = space
indent_size = 4