-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
49 lines (41 loc) · 924 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
# EditorConfig is a file format for defining coding styles and editor behaviors.
# For more details, visit https://editorconfig.org/
# Top-most EditorConfig file
root = true
# Set the default charset
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
# PHP files
[*.php]
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
brace_style = collapse
# JavaScript files
[*.js]
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
[*.ts]
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
[*.tsx]
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
# CSS files
[*.css]
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
# HTML files
[*.html]
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true