forked from weserv/images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
49 lines (39 loc) · 852 Bytes
/
.editorconfig
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
42
43
44
45
46
47
48
49
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
# This file is the top-most EditorConfig file
root = true
# All files
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# PHP files
[*.php]
max_line_length = 120
# Web files
[*.{htm,html,js,css,scss}]
indent_size = 2
# Remove final newline
[*.{txt,htm,html,xml}]
insert_final_newline = false
# Markdown files
[*.md]
max_line_length = off
trim_trailing_whitespace = false
# Bash files
[*.sh]
indent_size = 2
# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
# JSON/YAML files
[*.{json,yml}]
indent_size = 2
insert_final_newline = false
# Composer files
[{composer.json,composer.lock}]
indent_size = 4